Skip to content

C/C++ programs of the Data Structures (CSO-102) Lab | IIT (BHU) Varanasi | Even semester 2018-19

Notifications You must be signed in to change notification settings

mrsac7/CSO-102-Data-Structures-Lab

Repository files navigation

CSO-102-Data-Structures-Lab

C/C++ programs of the Data Structures (CSO-102) Lab | IIT BHU | Even semester 2018-19

Guided By: Dr. Sanjay Kumar Singh, Professor, CSE, IIT (BHU) Varanasi.

Contents:

  1. Lab 1: Find mean, median, mode and standard deviation of a given dataset using an array.
  2. Lab 2: Find the highest number in a given matrix.
  3. Lab 3: Find the second largest element in an array.
  4. Lab 4: Reverse an array without using extra space
  5. Lab 5: Display sine wave of given amplitude and no. of asterisks per 180 degree phase.
  6. Lab 6: Implement two stack using 1-D array where the total size of both stacks are fixed but individual size may differ (use Dynamic Memory allocation and structure concepts)
  7. Lab 7: Use stack operations to convert given infix expression into its postfix equivalent. Implement the stack using an array.
  8. Lab 8: Use functions to perform the following operations:
    (a) Create a singly linked list of integers.
    (b) Delete a given integer from the above list.
    (c) Display the contents of the above list after deletion
  9. Lab 9.1: Implement double ended queue ADT using (a) Array.
    Lab 9.2: Implement double ended queue ADT using (b) Doubly Linked List.
  10. Lab 10: Use functions to perform the following operations:
    (a) Create a binary search tree of characters
    (b) Traverse the binary tree recursively in postorder, preorder and inorder.
  11. Lab 11: Implement Priority Queue using BInary Heap.
  12. Lab 12: Check whether two trees are symmetric or not and also find that given tree is BST or not.
  13. Lab 13: Implement all the functions of a dictionary (ADT) using hashing.
  14. Lab 14.1: Implement (i) Depth First Search.
    Lab 14.2: Implement (ii) Breadth First Search.
    Lab 14.3: Implement(iii) Topological Sort on DAG using DFS.

About

C/C++ programs of the Data Structures (CSO-102) Lab | IIT (BHU) Varanasi | Even semester 2018-19

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages