You are given a 0-indexed integer array nums. A pair of indices (i, j) is a bad pair if i < j and j - i != nums[j] - nums[i].

Return the total number of bad pairs in nums Provide exactly two different responses that are separated with 6 asterisk symbols: ******.
user