Maximize the Confusion of an Exam | 3 Approaches | MICROSOFT | Leetcode-2024 | Explanation
Similar Leetcode Problem : https://leetcode.com/problems/max-consecutive-ones-iii/
Hi everyone, this is the 11th video of our Sliding Window Playlist.
In this video we will try to solve a very good and classic Sliding Window Based Qn “Maximize the Confusion of an Exam”.
We will write very easy and clean code. And we will be solving it using 3 different approaches :
1. Brute Force - TLE
2. 2-Pass Sliding Window - ACCEPTED
3. 1-Pass Sliding Window - ACCEPTED
We will do live coding after explanation and see if we are able to pass all the test cases.
Problem Name : Maximize the Confusion of an Exam
Company Tags : MICROSOFT
My solutions on Github : https://github.com/MAZHARMIK/Interview_DS_Algo/blob/master/Sliding%20Window/Maximize%20the%20Confusion%20of%20an%20Exam.cpp
Leetcode Link : https://leetcode.com/problems/maximize-the-confusion-of-an-exam/
My GitHub Repo for interview preparation : https://github.com/MAZHARMIK/Interview_DS_Algo
Subscribe to my channel : https://www.youtube.com/@codestorywithMIK
Instagram : https://www.instagram.com/codestorywithmik/
Facebook : https://www.facebook.com/people/codestorywithmik/100090524295846/
Twitter : https://twitter.com/CSwithMIK
╔═╦╗╔╦╗╔═╦═╦╦╦╦╗╔═╗
║╚╣║║║╚╣╚╣╔╣╔╣║╚╣═╣
╠╗║╚╝║║╠╗║╚╣║║║║║═╣
╚═╩══╩═╩═╩═╩╝╚╩═╩═╝
00:00 - Introduction
3:32 - Brute Force
10:21 - Coding Brute Force
15:28 - 2-Pass Sliding Window
24:38 - Coding 2-Pass Sliding Window
27:46 - 1-Pass Sliding Window
35:41 - Story Points
39:10 - Coding 1-Pass Sliding Window
#coding #helpajobseeker #easyrecipes #leetcode #leetcodequestionandanswers #leetcodesolution #leetcodedailychallenge #leetcodequestions #leetcodechallenge #hindi #india #hindiexplanation #hindiexplained #easyexplaination #interview #interviewtips
#interviewpreparation #interview_ds_algo #hinglish