Continental interview question

Fizzbuzz problem Lamba functions, complexity