Pergunta de entrevista da empresa Endless

Several data structure & OOP questions Then a programming puzzle