#92. tripleUp
tripleUp
Background
Description
Return true if the array contains, somewhere, three increasing adjacent numbers like .... 4, 5, 6, ... or 23, 24, 25.
Format
Input
Output
Samples
[1 4 5 6 2]
true
[1 2 3]
true
[1 2 4]
false
Limitation
1s, 1024KiB for each test case.