Skip to content

Commit df8520d

Browse files
committed
format code
1 parent fc93ffc commit df8520d

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

0001-two-sum.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
Submitted: December 20, 2024
55
66
Runtime: 3 ms (beats 77.60%)
7-
Memory: 14.80MB (beats 24.95%)
7+
Memory: 14.80 MB (beats 24.95%)
88
*/
99

1010
class Solution {

0380-insert-delete-getrandom-o1.cpp

+1-3
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,7 @@ class RandomizedSet {
1212
unordered_map<int, int> map;
1313
vector<int> arr;
1414
public:
15-
RandomizedSet() {
16-
17-
}
15+
RandomizedSet() { }
1816

1917
bool insert(int val) {
2018
if (map.find(val) != map.end()) return false;

0 commit comments

Comments
 (0)