Count Number of Bad Pairs #2364
harshagrawal523 opened this issue · 3 comments
harshagrawal523 commented
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.
welcome commented
Thanks for helping us improve and opening your first issue here! Don't forget to give us a 🌟 to support us.
While you're waiting, I just wanted to make sure you've had a chance to look at our Readme and Pull Request Guidelines.
RonitThukral commented
hello!
I am very new to this open source community. I am interested in solving this problem. Can you guide me hoe to contribute the solution?
gouravjangid5044 commented
Please assign this to me