Skip to content

Commit 1a1d073

Browse files
refactor 896
1 parent 5e3b4a8 commit 1a1d073

File tree

1 file changed

+4
-6
lines changed
  • src/main/java/com/fishercoder/solutions

1 file changed

+4
-6
lines changed

src/main/java/com/fishercoder/solutions/_896.java

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -11,27 +11,25 @@
1111
* Return true if and only if the given array A is monotonic.
1212
*
1313
* Example 1:
14-
*
1514
* Input: [1,2,2,3]
1615
* Output: true
17-
* Example 2:
1816
*
17+
* Example 2:
1918
* Input: [6,5,4,4]
2019
* Output: true
21-
* Example 3:
2220
*
21+
* Example 3:
2322
* Input: [1,3,2]
2423
* Output: false
25-
* Example 4:
2624
*
25+
* Example 4:
2726
* Input: [1,2,4,5]
2827
* Output: true
29-
* Example 5:
3028
*
29+
* Example 5:
3130
* Input: [1,1,1]
3231
* Output: true
3332
*
34-
*
3533
* Note:
3634
*
3735
* 1 <= A.length <= 50000

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy