Pergunta de entrevista da empresa Chatham Financial

The first and third ones are coding. The first is pretty easy. The third one I think is a leetcode medium to hard level. The second is a behavioral question.