Pergunta de entrevista da empresa ProDIGIQ

Some easy LC question on data structures