JM Family Enterprises interview question

The technical interview had 3 coding questions.