Pergunta de entrevista da empresa BetterCloud

pyramid algorithm and justify. Java technical qus