Canva Interview Question

Round 2 Q: Solve a leetcode easy-medium problem