Skip to content

Commit d185bd7

Browse files
refactor 384
1 parent da70c71 commit d185bd7

File tree

1 file changed

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

1 file changed

+0
-18
lines changed

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

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,5 @@
11
package com.fishercoder.solutions;
2-
/**
3-
* 384. Shuffle an Array
4-
Shuffle a set of numbers without duplicates.
52

6-
Example:
7-
8-
// Init an array with set 1, 2, and 3.
9-
int[] nums = {1,2,3};
10-
Solution solution = new Solution(nums);
11-
12-
// Shuffle the array [1,2,3] and return its result.
13-
Any permutation of [1,2,3] must equally likely to be returned.
14-
solution.shuffle();
15-
16-
// Resets the array back to its original configuration [1,2,3].
17-
solution.reset();
18-
19-
// Returns the random shuffling of array [1,2,3].
20-
solution.shuffle();*/
213
import java.util.ArrayList;
224
import java.util.LinkedList;
235
import java.util.List;

0 commit comments

Comments
 (0)