Question d’entretien chez XYZ

1) Write a code to detect cycle in the linkedlist. 2) Write a code to implement stack using queue.

Réponse à la question d'entretien

Utilisateur anonyme

22 nov. 2024

So the interviewer asked to write the code on paper. I was able to solve both the problem with ease explaining every line of the code and its time complexity