We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 56beee5 commit dcda603Copy full SHA for dcda603
biweekly-51/ClosestRoom.java
@@ -6,9 +6,9 @@
6
7
public class ClosestRoom {
8
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.
+ // sort queries in decreasing minSize order.
+ // sort rooms in decreasing size order.
+ // roomIdsSoFar treeSet includes all room ids which have size >= minSize of current query so far.
12
// For each query:
13
// - Add all room ids which have size >=minSize of current query.
14
// - Query floor and ceiling of q[0] (preferredId) from roomIdsSoFar
0 commit comments