Skip to content

Commit aa61585

Browse files
refactor 493
1 parent 3108712 commit aa61585

File tree

1 file changed

+0
-20
lines changed
  • src/main/java/com/fishercoder/solutions

1 file changed

+0
-20
lines changed

src/main/java/com/fishercoder/solutions/_493.java

Lines changed: 0 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -2,26 +2,6 @@
22

33
import java.util.Arrays;
44

5-
/**
6-
* 493. Reverse Pairs
7-
*
8-
* Given an array nums, we call (i, j) an important reverse pair if i < j and nums[i] > 2*nums[j].
9-
10-
You need to return the number of important reverse pairs in the given array.
11-
12-
Example1:
13-
14-
Input: [1,3,2,3,1]
15-
Output: 2
16-
Example2:
17-
18-
Input: [2,4,3,5,1]
19-
Output: 3
20-
21-
Note:
22-
The length of the given array will not exceed 50,000.
23-
All the numbers in the input array are in the range of 32-bit integer.
24-
*/
255
public class _493 {
266

277
public static class Solution1 {

0 commit comments

Comments
 (0)