Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Ainevsia/Leetcode-Rust
/ Solution
Method
Solution
493. Reverse Pairs/Solution.cpp:16–16 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
14
int rev_pair;
15
vector<int> n;
16
Solution():rev_pair(0) {}
17
18
void mergeSort(int l, int r) {
19
if (l + 1 >= r) return; // zero or one element
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected