Pregunta de entrevista de Fidelity Investments

spring boot, Object oriented programming (JAVA), data structure questions