Determine the type of an array of integers: strictly increasing, strictly decreasing, first increasing then decreasing (mountain), or first decreasing then increasing (valley).
You've read your 3 free write-ups
Sign up free to keep reading. Your account opens the first 10 questions of every company.