We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a154134 commit ae11ea0Copy full SHA for ae11ea0
src/main/java/com/fishercoder/solutions/_398.java
@@ -5,6 +5,7 @@
5
public class _398 {
6
7
//TODO: use reservoir sampling to solve it again
8
+ //reservoir sampling: the size of the dataset is unknow before hand
9
10
public static class Solution {
11
Map<Integer, List<Integer>> map;
0 commit comments