Ads Lab Programs For Internal and External Exams
Ads Lab Programs For Internal and External Exams
Construct an AVL tree for a given set of elements which are stored in a
file. And implement insert and delete operation on the constructed tree.
Write contents of tree into a new file using in-order.
2. Construct B-Tree an order of 5 with a set of 100 random
elements stored in array. Implement searching, insertion and deletion
operations.
3. Construct Min and Max Heap using arrays, delete any element and
display the content of the Heap.
4. Implement BFT and DFT for given graph, when graph is represented by
a) Adjacency Matrix b) Adjacency Lists
5. Write a program for finding the biconnected components in a given graph.
6. Implement Quick sort and Merge sort and observe the execution
time for various input sizes (Average, Worst and Best cases).
7. Compare the performance of Single Source Shortest Paths using
Greedy method when the graph is represented by adjacency matrix and
adjacency lists.
8. Implement Job Sequencing with deadlines using Greedy strategy.
9a) Write a program to solve 0/1 Knapsack problem Using Dynamic Programming.
9b) Implement N-Queens Problem Using Backtracking.