Basic Pattern Question In Leetcode 75948