GE interview question

Im currently awaiting coding round results