Meta interview question

A coding question that was average in difficulty