Leetcode 3583. Count Special Triplets | Hello Interview