Domanda di colloquio di Shopee

Pretty basic algorithm questions (like Leetcode easy, but easier).