Pregunta de entrevista de Wise Cells

The most difficult question was from database