Feel free to check out the source images below to view the original statement. Thank you for understanding ๐งกo๐งก
Examples
01 ยท Example 1
towers = [1, 4, 3, 2] return = 4
Explanation is in source image :)
02 ยท Example 2
towers = [5, 7, 9, 4, 11] return = 9
Explanation is in source image :)
More Roblox problems
- Candy Crush Grid Matching and GravityPHONE SCREEN ยท Seen Jun 2026
- Closest Binary Search Tree Value VariantPHONE SCREEN ยท Seen Jun 2026
- Design Search Autocomplete SystemPHONE SCREEN ยท Seen Jun 2026
- Find the Closest PalindromePHONE SCREEN ยท Seen Jun 2026
- Grid Pathfinding with Obstacles (DFS)PHONE SCREEN ยท Seen Jun 2026
- Maximize Distance to Closest PersonPHONE SCREEN ยท Seen Jun 2026
- Maximum Number of Balls in a BoxPHONE SCREEN ยท Seen Jun 2026
- Meeting Rooms IIPHONE SCREEN ยท Seen Jun 2026
public int makeTowa(int[] towers) {
// write your code here
}
towers[1, 4, 3, 2]
expected4
sign in to submit