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

  Рет қаралды 5,429

Aryan Mittal

Aryan Mittal

Күн бұрын

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/ary...
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

Пікірлер: 33
@ARYANMITTAL
@ARYANMITTAL 3 ай бұрын
Segment Tree Crash Course - kzbin.info/www/bejne/hKDJg3x9epyijbc When are you ready for FAANG - kzbin.info/www/bejne/nmiUiWSMgtRogJI
@pratikshahire4403
@pratikshahire4403 3 ай бұрын
Hey! What's your codeforces handle?
@vaibhav7480
@vaibhav7480 3 ай бұрын
God damn the value you provide through these videos is Immeasureable, thanks a lot dude
@ritikmandal7599
@ritikmandal7599 3 ай бұрын
very well explained and also covered the other cases as well. amazing, keep it up!
@sundaramagnihotri5896
@sundaramagnihotri5896 3 ай бұрын
Already done today's leetcode question
@ARYANMITTAL
@ARYANMITTAL 3 ай бұрын
Yeah, that’s the spirit🫡❤️
@prakhargarg4166
@prakhargarg4166 3 ай бұрын
why don't you put timeline in video
@Engineering.Wallah
@Engineering.Wallah 3 ай бұрын
Bhai tu bhi daal sakta hai
@arnavkaul7827
@arnavkaul7827 3 ай бұрын
Maqsad nhi bhulna hai?? I'm sold brother
@PulkitAgg13
@PulkitAgg13 3 ай бұрын
How did you develop such thinking ability? Please tell.
@-RakeshDhilipB
@-RakeshDhilipB 3 ай бұрын
18:32 how come O(m+n) complexity
@shivateja1499
@shivateja1499 3 ай бұрын
he makes every solution very complex to undertsand
@SurajKumar-xm5fs
@SurajKumar-xm5fs 3 ай бұрын
@vaishnaviagrawal1905
@vaishnaviagrawal1905 3 ай бұрын
kitna sahi samjhaya h .........👍👍
@prathamreddy37
@prathamreddy37 3 ай бұрын
After sorting 24,66,99 how did it become 66 99 and 24?
@JIGARSINGTHAKOR-yy6qp
@JIGARSINGTHAKOR-yy6qp 3 ай бұрын
Bhaiya is "cracking the coding interview " book is worth to buy in 2024???
@ManojKumarManuSai
@ManojKumarManuSai 3 ай бұрын
Feeling motivated, great explanation brother.
@KumarDivyanshu-k3t
@KumarDivyanshu-k3t 3 ай бұрын
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___ 3 ай бұрын
learn how radix and counting sort works, you will get the last one ;)
@vijayns1900
@vijayns1900 3 ай бұрын
sir can i know, why pair and vector is used instead of hashmap?
@atharv1510
@atharv1510 3 ай бұрын
class Solution { public: int maxProfitAssignment(vector& difficulty, vector& profit, vector& worker) { int tprofit=0; for(int i=0;i
@screensipsofficial
@screensipsofficial 3 ай бұрын
Great explaination 👌👌
@ganeshjaggineni4097
@ganeshjaggineni4097 3 ай бұрын
NICE SUPER EXCELLENT MOTIVATED
@kergeysarjakin5592
@kergeysarjakin5592 3 ай бұрын
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 3 ай бұрын
Some minor changes in IPO code and it worked
@anuverma1486
@anuverma1486 3 ай бұрын
r..r..r..r..right!!
@RohitKumar-hn6wj
@RohitKumar-hn6wj 3 ай бұрын
thank you.
@chaitanyaamajala2582
@chaitanyaamajala2582 3 ай бұрын
Bro i think for the for loop it will be i < n
@PalakKalsi
@PalakKalsi 3 ай бұрын
Used the same logic as IPO.
@milan0023
@milan0023 3 ай бұрын
? Que num
@manjeetyadav5830
@manjeetyadav5830 3 ай бұрын
@@milan0023 502
@RohitKumar-hn6wj
@RohitKumar-hn6wj 3 ай бұрын
@@milan0023 leetcode 502
@PATNAMGNANASAI
@PATNAMGNANASAI 3 ай бұрын
330. Patching Array | Greedy | Array | Math | Why not Bitset Trick
23:19
哈莉奎因怎么变骷髅了#小丑 #shorts
00:19
好人小丑
Рет қаралды 54 МЛН
Spongebob ate Michael Jackson 😱 #meme #spongebob #gmod
00:14
Mr. LoLo
Рет қаралды 10 МЛН
А ВЫ ЛЮБИТЕ ШКОЛУ?? #shorts
00:20
Паша Осадчий
Рет қаралды 9 МЛН
Modern Terminal Showdown: KiTTY vs Wezterm | STLLUG 2024-09-19
2:19:37
Stl Linux Unix Users Group
Рет қаралды 2,1 М.
Hands-On Power BI Tutorial 📊Beginner to Pro [Full Course] ⚡
3:05:45
Pragmatic Works
Рет қаралды 2,2 МЛН
Just enough C to have fun
39:29
Kay Lack
Рет қаралды 49 М.
8 patterns to solve 80% Leetcode problems
7:30
Sahil & Sarra
Рет қаралды 377 М.
哈莉奎因怎么变骷髅了#小丑 #shorts
00:19
好人小丑
Рет қаралды 54 МЛН