|
|
|
|
|
by Sadgrinner
4002 days ago
|
|
Isn't your answer technically wrong, though? The sequence is not monotonically increasing. It's strictly increasing. If you test [1, 1, 2] or [1, 1, 1] or [1, 2, 2], you'll get "No" answers even though those sequences are monotonically increasing. |
|
http://mathworld.wolfram.com/MonotoneIncreasing.html