Live LeetCode Attempt: 2333. Minimum Sum of Squared Difference