Leetcode 2501. Longest Square Streak in an Array | Hello Interview