- Write a program to search an element from a list. Give user the option to perform Linear or Binary search. Use Template functions.
- Write a program using templates to sort a list of elements. Give user the option to perform sorting using Insertion sort, Bubble sort or Selection sort.
- Implement Linked List using templates. Include functions for insertion, deletion and search of a number, reverse the list and concatenate two linked lists (include a function and also overload operator +).
- Implement Doubly Linked List using templates. Include functions for insertion, deletion and search of a number, reverse the list.
- Implement Circular Linked List using templates. Include functions for insertion, deletion and search of a number, reverse the list.
- Perform Stack operations using Linked List implementation.
- Perform Stack operations using Array implementation. Use Templates.
- Perform Queues operations using Circular Array implementation. Use Templates.
- Create and perform different operations on Double-ended Queues using Linked List implementation.
- Write a program to scan a polynomial using linked list and add two polynomial.
- Write a program to calculate factorial and to compute the factors of a given no. (i) using recursion, (ii) using iteration
- Write a program to display Fibonacci series (i) using recursion, (ii) using iteration
- Write a program to calculate GCD of 2 number (i) with recursion (ii) without recursion
- Write a program to create a Binary Search Tree and include following operations in tree:
- Insertion (Recursive and Iterative Implementation)
- Deletion by copying
- Deletion by Merging
- Search a no. in BST
- Display its preorder, postorder and inorder traversals Recursively
- Display its preorder, postorder and inorder traversals Iteratively
- Display its level-by-level traversals
- Count the non-leaf nodes and leaf nodes
- Display height of tree
- Create a mirror image of tree
- Check whether two BSTs are equal or not
- Click me to Navigate to the file
- Write a program to convert the Sparse Matrix into non-zero form and vice-versa.
- Write a program to reverse the order of the elements in the stack using additional stack.
- Write a program to reverse the order of the elements in the stack using additional Queue.
- Write a program to implement Diagonal Matrix using one-dimensional array.
- Write a program to implement Lower Triangular Matrix using one-dimensional array.
- Write a program to implement Upper Triangular Matrix using one-dimensional array.
- Write a program to implement Symmetric Matrix using one-dimensional array.
- Write a program to create a Threaded Binary Tree as per inorder traversal, and implement operations like finding the successor / predecessor of an element, insert an element, inorder traversal.
- Write a program to implement various operations on AVL Tree.