DSA QUESTION BANK
DSA QUESTION BANK
2 MARKS QUESTIONS
1 Differentiate between linear search and binary search.
2 Explain asymptotic notations in detail.
3 What is meant by time complexity? Define different time complexity notations.
Give examples one for each.
4 Classify various data structures.
5 Define ADT data structures.
6 Differentiate between data structure & data type?
7 What is the significance of Big -OH notation?
8 Differentiate between LIFO & FIFO.
9 Write an algorithm for binary search.
10 Application of Graph, stack and Queue.
11 Define the term DFS and BFS.
12 Write down the syntax of dynamic memory allocation.
13 What are the time complexity of Bubble and Quick Sort?
14 What is Binary Search tree?
15Difference between threaded binary tree and binary search tree.
16What is the significance of priority queue?
17 Define the concept of Hashing.
18 Define the space and time complexity of bubble, selection and insertion sort.
19 outline the importance of stack and queue.
20. Outline the importance of sorting, graph and linked list.
21 Outline the following terms: Predecessor and successor.
(4,8 MARKS QUESTIONS) UNIT-III
1 Differentiate between Single linked list and circular linked list
2 Differentiate between Double linked list and single linked list
3 Differentiate between Double linked list and circular linked list
4 Explain algorithm to insert an element at the beginning, at a specified position &
at the end of a singly linked list.
5 Explain algorithm to delete an element from the beginning, from a specified
position & from the end of a singly linked list.
6 What are header linked list?
7 What are the advantages of doubly linked list over singly linked list?
8 Explain traversing, insertion & deletion algorithms on circular linked list with
appropriate example.
9 Explain algorithm to delete an element from the beginning, from a specified
position & from the end of a doubly linked list.
10 Explain algorithm to delete an element from the beginning, from a specified
position & from the end of a doubly linked list.
11.Implement queue in linked list.
12. Implement stack in linked list.
13.insertion and deletion in sorted and unsorted linked list.
14 advantage and disadvantage of stack, queue and linked.
Prepared by:
Er. Meenakshi Garg