Pergunta de entrevista da empresa Abridge

They asked me an easy-level LeetCode algorithm problem.