Xtreme Labs interview question

no specific difficulty