Pregunta de entrevista de together.ai (CA)

They asked just one data structures question