Canonical Interview Question

Some basic questions, and a takehome