You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/main/java/com/fishercoder/solutions/_954.java
+3-2Lines changed: 3 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -7,7 +7,8 @@
7
7
/**
8
8
* 954. Array of Doubled Pairs
9
9
*
10
-
* Given an array of integers A with even length, return true if and only if it is possible to reorder it such that A[2 * i + 1] = 2 * A[2 * i] for every 0 <= i < len(A) / 2.
10
+
* Given an array of integers A with even length, return true if and only if it is possible to reorder it
11
+
* such that A[2 * i + 1] = 2 * A[2 * i] for every 0 <= i < len(A) / 2.
11
12
*
12
13
* Example 1:
13
14
* Input: [3,1,3,6]
@@ -52,7 +53,7 @@ public boolean canReorderDoubled(int[] A) {
0 commit comments