Pergunta de entrevista da empresa Model N

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

Resposta da entrevista

Sigiloso

8 de mai. de 2012

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