abhisek247767 / LeetCode2024-6Companies30Days

Make your first Pull Request on Hacktoberfest 2024. Don't forget to spread love and if you like give us a ⭐️
34 stars 56 forks source link

Reverse Pairs. #130

Open shubhamjain1402 opened 3 hours ago

shubhamjain1402 commented 3 hours ago

🟢 Title :Reverse Pairs 🟢 Programming language :C++ 🟢 Objective :To return number of reverse pairs in an array. 🟢 Summary : Given an integer array nums, return the number of reverse pairs in the array.

A reverse pair is a pair (i, j) where:

0 <= i < j < nums.length and nums[i] > 2 * nums[j].

PR[#129] Please review the code under hacktoberfest

github-actions[bot] commented 3 hours ago

👋 Thanks for opening this issue! First please star the repository and follow me in github. We appreciate your feedback and will look into it as soon as possible.