In this video, I will go over the solution of the Leetcode problem, "Max Consecutive Ones". Lately, I've been studying data structures and algorithms in preparation for FAANG technical interviews. I will do a lot more in this series in the next couple of months, so come join the fam and the journey.
The max consecutives ones is the first problem of this journey of learning arrays data structure better. There are other data structures I want to get familiar with because I know they will assist in optimizing the algorithms I write with them.
The programming language of choice is java. I think java is an easy language to understand and to do coding interviews with it.
Chapters:
00:00 Intro
01:23 Read the Prompt
01:32 Case Scenario #1
01:57 Hint #1
02:35 Step #1
02:58 Step #2
03:25 Step #3
04:21 Step #4
04:45 Step #5
05:09 Breakdown
05:33 Final Step
05:41 B-roll
06:05 Complexity Analysis
06:25 Outtro
// Max Consecutive Ones LeetCode Solution:
github.com/SoftwareJournal/algorithm-practice/blob…
Like, Share and Subscribe, Peace!
コメント