If you’ve ever played with dominoes, you know that the order of the numbers doesn’t matter—[1,2] is the same as [2,1]. That's the central idea behind this popular LeetCode problem:

If you’ve ever played with dominoes, you know that the order of the numbers doesn’t matter—[1,2] is the same as [2,1]. That's the central idea behind this popular LeetCode problem: