File tree Expand file tree Collapse file tree 4 files changed +1
-31
lines changed Expand file tree Collapse file tree 4 files changed +1
-31
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -36,7 +36,6 @@ hash.getVlaue()
36
36
37
37
38
38
PriorityQueue<Point > pq = new PriorityQueue<Point > (k, new Comparator<Point > () {
39
- @Override
40
39
public int compare (Point a , Point b ) {
41
40
int diff = getDistance(b, global_origin) - getDistance(a, global_origin);
42
41
if (diff == 0 )
Original file line number Diff line number Diff line change @@ -83,10 +83,6 @@ Sum(i~j) = PrefixSum[j + 1] - PrefixSum[i]
83
83
# others
84
84
## Window Sum
85
85
- 604. window sum
86
- ## topo sort
87
- - course schedule/II
88
- ## graph
89
- - clone graph
90
86
## list
91
87
- copy copyRandomList
92
88
## sorting
Original file line number Diff line number Diff line change @@ -89,7 +89,6 @@ public class Solution {
89
89
// Write your code here
90
90
global_origin = origin;
91
91
PriorityQueue<Point > pq = new PriorityQueue<Point > (k, new Comparator<Point > () {
92
- @Override
93
92
public int compare (Point a , Point b ) {
94
93
int diff = getDistance(b, global_origin) - getDistance(a, global_origin);
95
94
if (diff == 0 )
@@ -128,8 +127,7 @@ public class Solution {
128
127
129
128
for (Record record : results){
130
129
if (! hash. containsKey(record. id)){
131
- PriorityQueue<Integer > pq = new PriorityQueue<> ();
132
-
130
+ PriorityQueue<Integer > pq = new PriorityQueue<> ();
133
131
hash. put(record. id,pq);
134
132
}
135
133
You can’t perform that action at this time.
0 commit comments