List of popular Data Structure questions.
Linked List:
- Explain doubly linked list.
- Write your own implementation of Doubly Linked List.
- Find the middle element of a linked list in a single iteration.
- Make a copy of a Linked List having random pointers.
- Reverse a given Linked List.
Queue and Stack:
- Explain Queue, Double ended queue and priority queue
- Explain Stack
- Make a Queue using two Stacks.
Tree:
- Find the traversal path in a Tree (not binary) if you have node value.
- Explain Binary Tree.
Sorting:
- Name different sorting algorithms you heard.
- Explain one or more of these-
- Bubble Sort
- Merge Sort
- Quick Sort
- Which sorting algorithm is more efficient and why?
- Which sorting algorithm Java Collections API uses?
No comments:
Post a Comment