Idean interview question

Pre-assignment