Longest Subarray of 1's After Deleting One Element (LeetCode 1493)
MediumLeetCode 1493 · Variable Size Window · Google, Amazon +6 · 33:30Longest Subarray of 1's After Deleting One Element · Multiple Approaches · GOOGLE · Leetcode-1493My 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 1493 Longest Subarray of 1's After Deleting One Element by codestorywithMIK: Sliding Window, Medium. Topics: Array, Dynamic Programming, Sliding Window. Watch the explanation, then check the code and solve it on LeetCode.
- Difficulty
- medium
- Topics
- Array, Dynamic Programming, Sliding Window
- Patterns
- Variable Size Window
- Chapter
- Sliding Window
- Duration
- 33:30
Related problems
- Minimum Size Subarray Sum (LeetCode 209)
- Minimum Window Substring (LeetCode 76)
- Contains Duplicate II (Sliding Window) -(Airbnb, Palantir Technologies): Explanation ➕ Live Coding (LeetCode 219)
- Maximum Number of Vowels in a Substring of Given Length (LeetCode 1456)
- K Radius Subarray Averages (LeetCode 2090)
- Maximize the Confusion of an Exam (LeetCode 2024)
- Count Complete Substrings (LeetCode 2953)
- Binary Subarrays With Sum (LeetCode 930)