Pergunta de entrevista da empresa StackAdapt

Design a data structure to achieve some operation in linear time