Description
Solutions
Make Towers Strictly Increasing or Decreasing
🤘 INTERN

Feel free to check out the source images below to view the original statement. Thank you for understanding 🧡o🧡

Example 1:

Input:  towers = [1, 4, 3, 2]
Output: 4
Explanation:
Explanation is in source image :)

Example 2:

Input:  towers = [5, 7, 9, 4, 11]
Output: 9
Explanation:
Explanation is in source image :)
Constraints:
    TO-DO
Thumbnail 0
Thumbnail 1
Testcase

Result
Case 1

input:

output: