Skip to content

Commit ae11ea0

Browse files
update 398
1 parent a154134 commit ae11ea0

File tree

1 file changed

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

1 file changed

+1
-0
lines changed

Diff for: src/main/java/com/fishercoder/solutions/_398.java

+1
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
public class _398 {
66

77
//TODO: use reservoir sampling to solve it again
8+
//reservoir sampling: the size of the dataset is unknow before hand
89

910
public static class Solution {
1011
Map<Integer, List<Integer>> map;

0 commit comments

Comments
 (0)