Longest Subarray of 1's After Deleting One Element | Multiple Approaches | GOOGLE | Leetcode-1493
****Similar Problem : Leetcode - 1004, 487, 485****
Hi everyone, this is the 10th video of our Sliding Window Playlist.
In this video we will try to solve a very good classical Sliding Window problem “Longest Subarray of 1's After Deleting One Element”.
We will write very easy and clean code with intuition building and understanding each line of code.
BRUTE FORCE
SLIDING WINDOW
BETTER SLIDING WINDOW
DRY RUN OF ALL APPROACHES
We will do live coding after explanation and see if we are able to pass all the test cases.
Problem Name : Longest Subarray of 1's After Deleting One Element
Company Tags : GOOGLE, META
My solutions on Github : https://github.com/MAZHARMIK/Interview_DS_Algo/blob/master/Sliding%20Window/Longest%20Subarray%20of%201's%20After%20Deleting%20One%20Element.cpp
Leetcode Link : https://leetcode.com/problems/longest-subarray-of-1s-after-deleting-one-element/
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
╔═╦╗╔╦╗╔═╦═╦╦╦╦╗╔═╗
║╚╣║║║╚╣╚╣╔╣╔╣║╚╣═╣
╠╗║╚╝║║╠╗║╚╣║║║║║═╣
╚═╩══╩═╩═╩═╩╝╚╩═╩═╝
#coding #helpajobseeker #easyrecipes #leetcode #leetcodequestionandanswers #leetcodesolution #leetcodedailychallenge #leetcodequestions #leetcodechallenge #hindi #india #hindiexplanation #hindiexplained #easyexplaination #interview #interviewtips
#interviewpreparation #interview_ds_algo #hinglish