Pregunta de entrevista de MountBlue Technologies

Programming question based on data structure and algorithms.