Maximum Score of a Good Subarray (LeetCode 1793)
HardLeetCode 1793 · Exchange Argument & Ordering · Google, Bloomberg · 25:25Maximum Score of a Good Subarray · GREEDY · INTUITION · AMAZON · Leetcode - 1793My notes
Sign in to keep private notes on every station, with video timestamps.
Pause here and write your approach in two lines. Compare it with MIK's when the video ends.
Sign in to write your approach →About this video
Video solution for LeetCode 1793 Maximum Score of a Good Subarray by codestorywithMIK: Greedy, Hard. Topics: Array, Two Pointers, Binary Search, Stack. Watch the explanation, then check the code and solve it on LeetCode.
- Difficulty
- hard
- Topics
- Array, Two Pointers, Binary Search, Stack, Monotonic Stack, Cartesian Tree
- Patterns
- Exchange Argument & Ordering
- Chapter
- Greedy
- Duration
- 25:25
Related problems
- Broken Calculator (LeetCode 991)
- Minimum Number of Taps to Open to Water a Garden (LeetCode 1326)
- CANDY (LeetCode 135)
- Water the plants
- Earliest Second to Mark Indices I (LeetCode 3048)
- Patching Array (LeetCode 330)
- Maximum Distance in Arrays (LeetCode 624)
- Minimum Domino Rotations For Equal Row (LeetCode 1007)