Count Good Triplets In An Array Leetcode Questions