We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9042854 commit b2eed39Copy full SHA for b2eed39
scripts/algorithms/M/Monotonic Array/Monotonic Array.java
@@ -1,3 +1,4 @@
1
+// Runtime: 4 ms (Top 51.45%) | Memory: 92.5 MB (Top 78.69%)
2
class Solution {
3
public boolean isMonotonic(int[] nums) {
4
if(nums[0]<nums[nums.length-1]){
@@ -11,4 +12,4 @@ public boolean isMonotonic(int[] nums) {
11
12
}
13
return true;
14
-}
15
+}
0 commit comments