Content
Artak Kalantarian 3rd Founder at peaceofmind.ai – UC Berkeley SkyDeck Pad-13… 5d Edited g At one of my first interviews I was asked to reverse a singly linked list. The conversation went this way: Interviewer: "How would you reverse a singly linked list" Me: "Would stick the items into a stack, and pop them out and link them again" Interviewer: "But the linked list can be infinite" Me: "Would stick the items into an infinite stack" Interviewer: "Where would you find the infinite stack?" Me: "Exactlv at the same place where vou found the infinite linked list" I can never resist a good joke. In this case it went well. 08 602 18 comments