Pregunta de entrevista de PointClickCare

some algorithm question like sorting,