DS Lab
DS Lab
8. Write a program that use Recursive function to perform the Binary Search operation for a Key
value in a given list of Integers.
9. Write a program to implement Recursive Tree Traversal methods.
10. Write a program to implement a Pattern matching algorithms using Knuth-Morris-
Pratt(KMP).
11. Write a program to implement BFS Graph traversal method.
12. Write a program to implement AVL Trees.
i) Creation ii) Insertion iii) Display
13. Write a program that implements the Merge sort method to sort a given list of integers in
ascending order.
14. Write a program to implement DFS Graph traversal method.
15. Write a program to implement Red-Black Trees.
i) Creation ii) Insertion iii) Display
16. Write a program to implement Tree Traversal methods.
17. Write a program to implement Binary Search tree
i) Insertion ii) Display
18. Write a program to implement a Pattern matching algorithms using Boyer- Moore (BM).