Pergunta de entrevista da empresa Meta

Two Leetcode Medium problems, one HashMap problem and one Queue problem.