Domanda di colloquio di Amazon

Two problems, one code base problem needed to solve with AI and another LeetCode-style problem