Majority Element I | Majority Element II : Boyer-Moore | Made Simple | Leetcode - 229 and 169

Subscribers:
92,300
Published on ● Video Link: https://www.youtube.com/watch?v=Q6L5SoS-fTo



Duration: 31:49
1,955 views
150


iPad PDF Notes - https://github.com/MAZHARMIK/Interview_DS_Algo/blob/master/iPad%20PDF%20Notes/Leetcode-229%20%26%20169%20-%20Majority%20Element%20I%20%26%20II.pdf
This is the 63rd Video on our Arrays (1-D & 2-D) Playlist.
In this video we will try to solve a very very famous array Problem - Majority Element I and Majority Element II (Leetcode-229 & Leetcode-169).

I will explain the intuition so easily that you will never forget and start seeing this as cakewalk EASYYY.
We will do live coding after explanation and see if we are able to pass all the test cases.

Problem Name : Majority Element I and Majority Element II
Company Tags : AMAZON | GOOGLE
My solutions on Github :
Majority Element - I https://github.com/MAZHARMIK/Interview_DS_Algo/blob/master/Arrays/Majority%20Element%20(Moore's%20Voting).cpp
Majority Element - II https://github.com/MAZHARMIK/Interview_DS_Algo/blob/master/Arrays/Majority%20Element%20II.cpp
Leetcode Link :
Majority Element - I https://leetcode.com/problems/majority-element/
Majority Element - II https://leetcode.com/problems/majority-element-ii/

My DP Concepts Playlist : https://youtu.be/7eLMOE1jnls
My Graph Concepts Playlist : https://youtu.be/5JGiZnr6B5w
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 #coding #helpajobseeker #easyrecipes #leetcode #leetcodequestionandanswers #leetcodesolution #leetcodedailychallenge#leetcodequestions #leetcodechallenge #hindi #india #hindiexplanation #hindiexplained #easyexplaination #interview#interviewtips #interviewpreparation #interview_ds_algo #hinglish #github #design #data #google #video #instagram #facebook




Other Videos By codestorywithMIK


2023-10-14Number of Ways to Stay in the Same Place After Some Steps | Recursion | Memoization | Leetcode- 1269
2023-10-13Painting the Walls | Why Greedy Fails | Recursion | Memoization | GOOGLE | Leetcode - 2742
2023-10-12Min Cost Climbing Stairs | Bottom Up | Recursion | Memoization | GOOGLE | Leetcode - 746
2023-10-11Find in Mountain Array | Binary Search | Using Same Code | AMAZON | Leetcode - 1095
2023-10-11Number of Flowers in Full Bloom | Brute Force | Optimal Approach | Binary Search | Leetcode - 2251
2023-10-10Minimum Number of Operations to Make Array Continuous | Brute Force | Optimal | Leetcode - 2009
2023-10-08Max Dot Product of Two Subsequences | Recursion | Memoization | AMAZON | Leetcode - 1458
2023-10-07Build Array Where You Can Find The Maximum Exactly K Comparisons |DP Concepts & Qns-14|Leetcode-1420
2023-10-06Thank/Love You all 3000 ❤️🙏 #coding #motivation #thankyou #subscribe #10000 #codestorywithMIK #code
2023-10-06Integer Break | Tree Diagram | Recursion | Memoization | AMAZON | Leetcode - 343
2023-10-05Majority Element I | Majority Element II : Boyer-Moore | Made Simple | Leetcode - 229 and 169
2023-10-04Design HashMap | Brute Force | Optimal | META | GOOGLE | NETFLIX | Leetcode - 706
2023-10-03Number of Good Pairs | 3 Approaches | META | Leetcode - 1512
2023-10-02Remove Colored Pieces if Both Neighbors are the Same Color | Intuitive | GOOGLE | Leetcode - 2038
2023-10-01Reverse Words in a String III | 2 Approaches | Zappos | MentorGraphics | Leetcode - 557 | Live Code
2023-09-30Consistency is the 🔑 #hardwork #consistencyiskey #consistency #motivation #leetcode #coding
2023-09-30132 Pattern | Intuition explained | Brute Force | Better | Optimal | META | AMAZON | Leetcode - 456
2023-09-28Monotonic Array | Simple | Clean | META | Leetcode - 896 | Live Coding | Explanation
2023-09-27Sort Array By Parity | 3 Approaches | Custom Comparator | META | Leetcode - 905
2023-09-26Decoded String at Index | Clean Code | TCS | GOOGLE | ORACLE | Leetcode - 880
2023-09-25Remove Duplicate Letters | Why Monotonic Stack | Intuition | GOOGLE | Leetcode - 316