leetcode 2501. Longest Square Streak in an Array - dict and check

Published --