Pergunta de entrevista da empresa Google

The first interview consisted of a LeetCode medium question. For the second interview, the interviewer posed two LeetCode easy questions followed by a LeetCode medium question.