Skip to content

Commit 2218387

Browse files
author
fan
committed
a
1 parent 72b3307 commit 2218387

File tree

4 files changed

+1
-31
lines changed

4 files changed

+1
-31
lines changed

CF/algNotes/dp.md

Lines changed: 0 additions & 23 deletions
This file was deleted.

CF/algNotes/tips.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,6 @@ hash.getVlaue()
3636

3737

3838
PriorityQueue<Point> pq = new PriorityQueue<Point> (k, new Comparator<Point> () {
39-
@Override
4039
public int compare(Point a, Point b) {
4140
int diff = getDistance(b, global_origin) - getDistance(a, global_origin);
4241
if (diff == 0)

CF/gp/gp1.md

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -83,10 +83,6 @@ Sum(i~j) = PrefixSum[j + 1] - PrefixSum[i]
8383
# others
8484
## Window Sum
8585
- 604. window sum
86-
## topo sort
87-
- course schedule/II
88-
## graph
89-
- clone graph
9086
## list
9187
- copy copyRandomList
9288
## sorting

CF/gp/hf1.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,6 @@ public class Solution {
8989
// Write your code here
9090
global_origin = origin;
9191
PriorityQueue<Point> pq = new PriorityQueue<Point> (k, new Comparator<Point> () {
92-
@Override
9392
public int compare(Point a, Point b) {
9493
int diff = getDistance(b, global_origin) - getDistance(a, global_origin);
9594
if (diff == 0)
@@ -128,8 +127,7 @@ public class Solution {
128127

129128
for(Record record : results){
130129
if(!hash.containsKey(record.id)){
131-
PriorityQueue<Integer> pq = new PriorityQueue<>();
132-
130+
PriorityQueue<Integer> pq = new PriorityQueue<>();
133131
hash.put(record.id,pq);
134132
}
135133

0 commit comments

Comments
 (0)