EDge Interactive interview question

as described above?