Given a singly linked list with a cycle, break the cycle.
This can be done in O(n) time, O(1) space.
Subscribe to:
Post Comments (Atom)
Brain-teasers and technical questions that interviewers use to challenge your logic and problem solving skills.
No comments:
Post a Comment