Jombay interview question

Only 2 assignments given