We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
PS - Given an array of integers nums, return the number of good pairs.
A pair (i, j) is called good if nums[i] == nums[j] and i < j.