2 ms·
> You must be pretty good at whiteboard interviews. I never had a single whiteboard interview in my life, so I can't give you advice on how to get better at th
by adwn 6y ago
> You must be pretty good at whiteboard interviews.
I never had a single whiteboard interview in my life, so I can't give you advice on how to get better at them, sorry.
Back in university, I had a "Design and Analysis of Algorithms" course, and one of the first (toy) exercises was to implement a queue using other data structures. This solution with two stacks was what I came up with. That's 12 years ago now, good times :-)