Pergunta de entrevista da empresa Educative (WA)

They asked many data structures problems and every problem had follow up question to improve its time complexity and space complexity.