Skip to content

Commit 3d30ef8

Browse files
[N-0] add a todo ITEM
1 parent 69f9a30 commit 3d30ef8

File tree

1 file changed

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

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ public class _380 {
4646
* boolean param_2 = obj.delete(val);
4747
* int param_3 = obj.getRandom();
4848
*/
49-
49+
//TODO: this is not ideal, optimize it.
5050
public static class RandomizedSet {
5151

5252
Map<Integer, Integer> forwardMap;//key is auto increment index, value if the inserted val

0 commit comments

Comments
 (0)