Leetcode 1054. Distant Barcodes | Hello Interview