Gray Routes interview question

Basic fundamental questions in first technical round