Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit dcda603

Browse files
committed
biweekly-51
Signed-off-by: ashKIK <ashutheprogrammer@gmail.com>
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‎

Lines changed: 3 additions & 3 deletions
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)

AltStyle によって変換されたページ (->オリジナル) /