Pergunta de entrevista da empresa TikTok

Leetcode, and space and time complexity.