Poor Pigs | Maths | With Intuition | Clear Explanation | Leetcode - 458

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



Duration: 33:06
3,043 views
231


Whatsapp Community Link : https://www.whatsapp.com/channel/0029Va6kVSjICVfiVdsHgi1A
iPad PDF Notes - https://github.com/MAZHARMIK/Interview_DS_Algo/blob/master/iPad%20PDF%20Notes/Leetcode-458-Poor%20Pigs.pdf
This is the 15th Video of our Maths Playlist.
In this video we will try to solve a very good Greedy Problem - Poor Pigs (Leetcode-458).
I will explain each line of code. You must know the "WHY" behind everything.

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 : Power of Four
Company Tags : NIL
My solutions on Github : https://github.com/MAZHARMIK/Interview_DS_Algo/blob/master/Mathematical/Poor%20Pigs.cpp
Leetcode Link : https://leetcode.com/problems/poor-pigs/description

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-11-03Last Moment Before All Ants Fall Out of a Plank | Easy Explanation | GOOGLE | Leetcode - 1503
2023-11-03More to come soon #coding #hoodie #fashion #winteriscoming #winterishere #leetcode #codestorywithMIK
2023-11-02Build an Array With Stack Operations | Dry Run | Clean | Leetcode - 1441
2023-11-02Maximum Points After Collecting Coins From All Nodes | Memoization | Optimisations | Leetcode - 2920
2023-11-01Count Nodes Equal to Average of Subtree | 2 Approaches | Leetcode-2265 | Explanation ➕ Live Coding
2023-11-01Find Mode in Binary Search Tree | 2 Approaches | Follow Up | Leetcode-501 | GOOGLE
2023-10-31Leetcode October Badge, 2023 #leetcode #coding #codestorywithmik #datastructures #october #hardwork
2023-10-30Find The Original Array of Prefix Xor | XOR Properties | Microsoft | Leetcode - 2433
2023-10-29Sort Integers by The Number of 1 Bits | 2 Approaches | AMAZON | Leetcode - 1356
2023-10-29Euler Path | Euler Circuit | PART-2 | Graph Concepts & Qns - 41 | Explanation + Code
2023-10-29Poor Pigs | Maths | With Intuition | Clear Explanation | Leetcode - 458
2023-10-28Count Vowels Permutation | Recursion | Memoization | Bottom Up | GOOGLE | META | Leetcode - 1220
2023-10-26Longest Palindromic Substring | Recursion | Memoization | Microsoft | Leetcode - 5
2023-10-25Binary Trees With Factors | Easy Intuition | Dry Run | GOOGLE | Leetcode - 823
2023-10-24K-th Symbol in Grammar | Recursion | Recurrence Relation Explained | GOOGLE | Leetcode - 779
2023-10-23Find Largest Value in Each Tree Row | DFS | BFS | META | Leetcode - 515
2023-10-22Power of Four | 3 Approaches | Maths | With Proof | Bit Magic | Leetcode - 342
2023-10-22Thank you for the TRUST ❤️🙏 #codestorywithMIK
2023-10-22Maximum Score of a Good Subarray | GREEDY | INTUITION | AMAZON | Leetcode - 1793
2023-10-21Constrained Subsequence Sum | Recursion | Memoization | Sliding Window | GOOGLE | Leetcode - 1425
2023-10-20Flatten Nested List Iterator | 3 Approaches | Full Details | GOOGLE | NETFLIX | Leetcode - 341