Problem Brief
Make Towers Strictly Increasing or Decreasing
INTERNOA
See Roblox online assessment and hiring insights
Feel free to check out the source images below to view the original statement. Thank you for understanding 🧡o🧡
1Example 1
Input
towers = [1, 4, 3, 2]
Output
4
Explanation
Explanation is in source image :)
2Example 2
Input
towers = [5, 7, 9, 4, 11]
Output
9
Explanation
Explanation is in source image :)