Pergunta de entrevista da empresa Capgemini Engineering

Simple datastructure logics?