Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
Sadgrinner
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
4 ms
·
1.
▲
by
Sadgrinner
11y ago
In all seriousness, the definition of monotonically increasing that I was taught is the same as exists in wikipedia: "A function is called monotonically increasing (also increasing or non-decreasing), if for all x and y such that x <
2.
▲
by
Sadgrinner
11y 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 seque