Leetcode 2549. Count Distinct Numbers on Board | Hello Interview