We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bc69423 commit e5e19b0Copy full SHA for e5e19b0
scripts/algorithms/S/Sqrt(x)/Sqrt(x).java
@@ -1,3 +1,5 @@
1
+// Runtime: 34 ms (Top 10.30%) | Memory: 41.3 MB (Top 62.51%)
2
+
3
class Solution {
4
public int mySqrt(int x) {
5
long answer = 0;
@@ -6,4 +8,4 @@ public int mySqrt(int x) {
6
8
}
7
9
return (int)answer - 1;
10
-}
11
+}
0 commit comments