(int a[], int b[])
| 4 | public int rangeSum(int[] nums, int n, int left, int right) { |
| 5 | PriorityQueue<int[]> pq = new PriorityQueue<>(new Comparator<int[]>(){ |
| 6 | public int compare(int a[], int b[]){ |
| 7 | return a[0] - b[0]; |
| 8 | } |
| 9 | }); |
| 10 | for(int i=0;i<n;i++){ |
| 11 | pq.offer(new int[]{nums[i],i}); |
nothing calls this directly
no outgoing calls
no test coverage detected