Pergunta de entrevista da empresa Amazon

Interview 1: Sliding window, trees Interview 2: Trees, Union Find