Leetcode 2442. Count Number of Distinct Integers After Reverse Operations | Hello Interview