Skip to content

Commit b2eed39

Browse files
committed
Runtime: 4 ms (Top 51.45%) | Memory: 92.5 MB (Top 78.69%)
1 parent 9042854 commit b2eed39

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

scripts/algorithms/M/Monotonic Array/Monotonic Array.java

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
// Runtime: 4 ms (Top 51.45%) | Memory: 92.5 MB (Top 78.69%)
12
class Solution {
23
public boolean isMonotonic(int[] nums) {
34
if(nums[0]<nums[nums.length-1]){
@@ -11,4 +12,4 @@ public boolean isMonotonic(int[] nums) {
1112
}
1213
return true;
1314
}
14-
}
15+
}

0 commit comments

Comments
 (0)