Ads - Lab Exercises
Ads - Lab Exercises
Graphs:
3. Breadth-First Search (BFS): Implement BFS to traverse a graph and find the
shortest path from a source node to all other nodes.
4. Depth-First Search (DFS): Write a function to perform DFS on a graph and
identify connected components.
Backtracking:
Dynamic Programming:
9. Merge Sort: Implement the merge sort algorithm to sort an array of elements.
10. Binary Search: Write a function to perform binary search on a sorted array to
find a target element.