While this is really interesting and I'll probably read through all of them just to brush up on my graph knowledge... but "Interview Questions"?

Does anyone really ask you to write this kind of code in interviews? They feel more like Computer Science homework questions.

>Does anyone really ask you to write this kind of code in interviews

Whoh!! All big IT companies ask these type of questions.. but mostly to graduate students and less experienced candidates.. but some companies might ask it to a 10 year old programmer as well..

not saying these companies[0] wont ask these types of questions, but at least they wont ask you to answer them on a whiteboard

[0] https://github.com/poteto/hiring-without-whiteboards

related HN discussion thread[1]

[1] https://news.ycombinator.com/item?id=13874026