Skip to content

Commit 28be2e7

Browse files
committed
Runtime: 164 ms (Top 39.53%) | Memory: 127.2 MB (Top 83.72%)
1 parent df5c6a1 commit 28be2e7

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

scripts/algorithms/C/Closest Room/Closest Room.java

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
// Runtime: 164 ms (Top 39.53%) | Memory: 127.2 MB (Top 83.72%)
12
class Solution {
23
public int[] closestRoom(int[][] rooms, int[][] queries) {
34
int n = rooms.length, k = queries.length;
@@ -29,4 +30,4 @@ int searchClosetRoomId(TreeSet<Integer> treeSet, int preferredId) {
2930
}
3031
return ans;
3132
}
32-
}
33+
}

0 commit comments

Comments
 (0)