Рет қаралды 9,777
Discord Link: / discord
Question Link: leetcode.com/problems/max-con...
In this video we are solving a simple Facebook/Google interview question dealing with arrays: Max Consecutive Ones III (Leetcode 1004).
This question is marked as a medium but it's really more of an easy and it's super straightforward to solve.
TIMESTAMPS:
00:00 Intro
00:20 Question Prompt
00:30 Example & Solution Intuition
03:19 Coding
06:36 Time/Space Complexity
07:45 Outro