Saturday, 26 April 2025

DS Question Bank

                                                               Data Structure Using C

         Question Bank 


  1. What is Graph ? Explain Adjacency list of graph ,adjacency matrix with example

  2. Consider the following Graph and attempt the following :

Weighted graph - Hyperskill

- print the adjacency matrix of the graph 

  Traverse DFS and BFS

  1. Convert the following Infix expression into prefix using a table.

(A+B)/(C+D*E)

  1. Convert the following infix expression into postfix using stacks (symbol table)

A ^ (B – C * D /E) + F

  1. What is stack ? Write Operation on stack with example (Program)

  2. Write a program to implement a dynamic stack

  3. Write a Function Preorder,Postorder,Inorder Traversal

  4. Write a function to sort a DLL

  5. Write a function to print the minimum value from a BST

  6. Write a  program to add two polynomials using 1D Arrays

  7. Draw BST for the following and traverse inorder, preorder and postorder-

45, 40, 27, 58, 63, 72, 18, 44, 47, 50

  1. Write a program to Selection Sort 

  2. Write a Program Linear search on unsorted data 

  3. Explain different types of AVL Rotation with an example.

  4. Data Structured Type

  5. DEQUE, IRDEQ and ORDEQ

  6.  Define degree of a tree, generation, pendent node, depth of a tree 

  7. Algorithm Characteristics

  8. Depth First Search (DFS)