Skip to content

Commit 4d6cf4f

Browse files
authored
Update random-pick-with-blacklist.cpp
1 parent 7c6f3d8 commit 4d6cf4f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

C++/random-pick-with-blacklist.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ class Solution {
1919
lookup_[black] = *(white++);
2020
}
2121
}
22-
}
22+
}
2323

2424
int pick() {
2525
int index = rand() % n_;

0 commit comments

Comments
 (0)