Pergunta de entrevista da empresa Oscar Health

A medium difficulty questions from leetcode