MAX CONSECUTIVE ONES III | LEETCODE 1004 | PYTHON SOLUTION

Опубликовано: 14 Октябрь 2024
на канале: Cracking FAANG
11,152
309

Discord Link:   / discord  


Question Link: https://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