Perk interview question

Second step Live Coding interview