Meta interview question

Some simple algorithm questions.