826. Most Profit Assigning Work | 5 Approaches | Greedy | Binary S | Priority Queue | 2 Pointer | DP

In this video, I'll talk about how to solve Leetcode 826. Most Profit Assigning Work | 5 Approaches | Binary Search | Priority Queue | 2 Pointer | DP | Greedy
Let's Connect:
📱Discord (Join Community) : / discord
📝Linkedin: / aryan-mittal-0077
📸 Instagram: / codewitharyanbhai
💻 Twitter - / aryan_mittal007
🤖 Github: github.com/aryan-0077
About Me:
I am Aryan Mittal - A Software Engineer in Goldman Sachs, Speaker, Creator & Educator. During my free time, I create programming education content on this channel & also how to use that to grow :)
✨ Hashtags ✨
#programming #Interviews #leetcode #faang #maang #datastructures #algorithms

Пікірлер: 37

  • @ARYANMITTAL
    @ARYANMITTAL12 күн бұрын

    Segment Tree Crash Course - kzread.info/dash/bejne/gKOatKuAdZrVh7g.html When are you ready for FAANG - kzread.info/dash/bejne/mmtlupOPfdKbepM.html

  • @pratikshahire4403

    @pratikshahire4403

    12 күн бұрын

    Hey! What's your codeforces handle?

  • @shivateja1499
    @shivateja149912 күн бұрын

    he makes every solution very complex to undertsand

  • @SurajKumar-xm5fs

    @SurajKumar-xm5fs

    12 күн бұрын

  • @ritikmandal7599
    @ritikmandal75997 күн бұрын

    very well explained and also covered the other cases as well. amazing, keep it up!

  • @vaibhav7480
    @vaibhav74803 күн бұрын

    God damn the value you provide through these videos is Immeasureable, thanks a lot dude

  • @sundaramagnihotri5896
    @sundaramagnihotri589612 күн бұрын

    Already done today's leetcode question

  • @ARYANMITTAL

    @ARYANMITTAL

    12 күн бұрын

    Yeah, that’s the spirit🫡❤️

  • @vaishnaviagrawal1905
    @vaishnaviagrawal190512 күн бұрын

    kitna sahi samjhaya h .........👍👍

  • @kergeysarjakin5592
    @kergeysarjakin559212 күн бұрын

    bro ye question IPO jaisa nahi hai almost

  • @ManojKumarManuSai
    @ManojKumarManuSai12 күн бұрын

    Feeling motivated, great explanation brother.

  • @chaitanyaamajala2582
    @chaitanyaamajala258212 күн бұрын

    Bro i think for the for loop it will be i < n

  • @PulkitAgg13
    @PulkitAgg1312 күн бұрын

    How did you develop such thinking ability? Please tell.

  • @user-fq7ux2qk5f
    @user-fq7ux2qk5f12 күн бұрын

    This Problem is great! Great learning though I didn't understood the dp solution ( I don't have a good grip on recursion and dp topic ) Definately comeback and try the dp solution.

  • @benzene___

    @benzene___

    10 күн бұрын

    learn how radix and counting sort works, you will get the last one ;)

  • @screensipsofficial
    @screensipsofficial12 күн бұрын

    Great explaination 👌👌

  • @ganeshjaggineni4097
    @ganeshjaggineni409712 күн бұрын

    NICE SUPER EXCELLENT MOTIVATED

  • @RohitKumar-hn6wj
    @RohitKumar-hn6wj12 күн бұрын

    thank you.

  • @vijayns1900
    @vijayns190012 күн бұрын

    sir can i know, why pair and vector is used instead of hashmap?

  • @JIGARSINGTHAKOR-yy6qp
    @JIGARSINGTHAKOR-yy6qp12 күн бұрын

    Bhaiya is "cracking the coding interview " book is worth to buy in 2024???

  • @anuverma1486
    @anuverma148612 күн бұрын

    r..r..r..r..right!!

  • @arnavkaul7827
    @arnavkaul782712 күн бұрын

    Maqsad nhi bhulna hai?? I'm sold brother

  • @kergeysarjakin5592
    @kergeysarjakin559212 күн бұрын

    class Solution { public: int maxProfitAssignment(vector& difficulty, vector& profit, vector& worker) { int n = worker.size(); vector v(n); priority_queue pq; int ans = 0; for(int i=0;i

  • @kergeysarjakin5592

    @kergeysarjakin5592

    12 күн бұрын

    Some minor changes in IPO code and it worked

  • @-RakeshDhilipB
    @-RakeshDhilipB12 күн бұрын

    18:32 how come O(m+n) complexity

  • @prakhargarg4166
    @prakhargarg416612 күн бұрын

    why don't you put timeline in video

  • @saiei

    @saiei

    12 күн бұрын

    my man is fast in words but lazy at work, makes him suitable for manager XD

  • @Engineering.Wallah

    @Engineering.Wallah

    12 күн бұрын

    Bhai tu bhi daal sakta hai

  • @prathamreddy37
    @prathamreddy3712 күн бұрын

    After sorting 24,66,99 how did it become 66 99 and 24?

  • @atharv1510
    @atharv151012 күн бұрын

    class Solution { public: int maxProfitAssignment(vector& difficulty, vector& profit, vector& worker) { int tprofit=0; for(int i=0;i

  • @PalakKalsi
    @PalakKalsi12 күн бұрын

    Used the same logic as IPO.

  • @milan0023

    @milan0023

    12 күн бұрын

    ? Que num

  • @manjeetyadav5830

    @manjeetyadav5830

    12 күн бұрын

    @@milan0023 502

  • @RohitKumar-hn6wj

    @RohitKumar-hn6wj

    12 күн бұрын

    @@milan0023 leetcode 502

  • @PATNAMGNANASAI
    @PATNAMGNANASAI12 күн бұрын