1)How do u find the Circles in a graph. Write the algorithm on the board.. 2) Implement a Queue using Stacks 3) Reverse a linked list in a optimized algorithm
Anonymous
Pushing the nodes to the queue in BFS order and search for the repetitions.
Check out your Company Bowl for anonymous work chats.