Mahmoud interview question

The technical interview is problem-solving.