Pregunta de entrevista de Oracle

Data structure with time and space complexity