Model N Interview Question: 1)How do u find the Circles i... |

Interview Question

Senior Member of Technical Staff Interview Hyderabad

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
data structures

Interview Answer

1 Answer


Pushing the nodes to the queue in BFS order and search for the repetitions.

Interview Candidate on 08-May-2012

Add Answers or Comments

To comment on this, Sign In or Sign Up.