[JS: Interview Algorithm](http://www.thatjsdude.com/interview/js1.html)