Skip to content

Commit dcda603

Browse files
committed
biweekly-51
Signed-off-by: ashKIK <[email protected]>
1 parent 56beee5 commit dcda603

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

biweekly-51/ClosestRoom.java

+3-3
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@
66

77
public class ClosestRoom {
88

9-
// sort queries by the decreasing of its minSize order.
10-
// sort rooms by the decreasing of its size order.
11-
// roomIdsSoFar treeSet includes all room ids which have size >=minSize of current query so far.
9+
// sort queries in decreasing minSize order.
10+
// sort rooms in decreasing size order.
11+
// roomIdsSoFar treeSet includes all room ids which have size >= minSize of current query so far.
1212
// For each query:
1313
// - Add all room ids which have size >=minSize of current query.
1414
// - Query floor and ceiling of q[0] (preferredId) from roomIdsSoFar

0 commit comments

Comments
 (0)