Skip to content

Latest commit

 

History

History
129 lines (83 loc) · 4.3 KB

Syllabus_for_3rd_Semester_DS.md

File metadata and controls

129 lines (83 loc) · 4.3 KB

Practical / Lab work to be performed for Data Structures

  1. Write a program to search an element from a list. Give user the option to perform Linear or Binary search. Use Template functions.
  1. 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.
  1. 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 +).
  1. Implement Doubly Linked List using templates. Include functions for insertion, deletion and search of a number, reverse the list.
  1. Implement Circular Linked List using templates. Include functions for insertion, deletion and search of a number, reverse the list.
  1. Perform Stack operations using Linked List implementation.
  1. Perform Stack operations using Array implementation. Use Templates.
  1. Perform Queues operations using Circular Array implementation. Use Templates.
  1. Create and perform different operations on Double-ended Queues using Linked List implementation.
  1. Write a program to scan a polynomial using linked list and add two polynomial.
  1. Write a program to calculate factorial and to compute the factors of a given no. (i) using recursion, (ii) using iteration
  1. Write a program to display Fibonacci series (i) using recursion, (ii) using iteration
  1. Write a program to calculate GCD of 2 number (i) with recursion (ii) without recursion
  1. 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

  1. Write a program to convert the Sparse Matrix into non-zero form and vice-versa.
  1. Write a program to reverse the order of the elements in the stack using additional stack.
  1. Write a program to reverse the order of the elements in the stack using additional Queue.
  1. Write a program to implement Diagonal Matrix using one-dimensional array.
  1. Write a program to implement Lower Triangular Matrix using one-dimensional array.
  1. Write a program to implement Upper Triangular Matrix using one-dimensional array.
  1. Write a program to implement Symmetric Matrix using one-dimensional array.
  1. 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.
  1. Write a program to implement various operations on AVL Tree.