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

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

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

Пікірлер: 31
@ARYANMITTAL
@ARYANMITTAL 7 ай бұрын
Segment Tree Crash Course - kzbin.info/www/bejne/hKDJg3x9epyijbc When are you ready for FAANG - kzbin.info/www/bejne/nmiUiWSMgtRogJI
@pratikshahire4403
@pratikshahire4403 7 ай бұрын
Hey! What's your codeforces handle?
@ritikmandal7599
@ritikmandal7599 7 ай бұрын
very well explained and also covered the other cases as well. amazing, keep it up!
@vaibhav7480
@vaibhav7480 7 ай бұрын
God damn the value you provide through these videos is Immeasureable, thanks a lot dude
@vaishnaviagrawal1905
@vaishnaviagrawal1905 7 ай бұрын
kitna sahi samjhaya h .........👍👍
@shivateja1499
@shivateja1499 7 ай бұрын
he makes every solution very complex to undertsand
@SurajKumar-xm5fs
@SurajKumar-xm5fs 7 ай бұрын
@ManojKumarManuSai
@ManojKumarManuSai 7 ай бұрын
Feeling motivated, great explanation brother.
@screensipsofficial
@screensipsofficial 7 ай бұрын
Great explaination 👌👌
@sundaramagnihotri5896
@sundaramagnihotri5896 7 ай бұрын
Already done today's leetcode question
@ARYANMITTAL
@ARYANMITTAL 7 ай бұрын
Yeah, that’s the spirit🫡❤️
@PulkitAgg13
@PulkitAgg13 7 ай бұрын
How did you develop such thinking ability? Please tell.
@kergeysarjakin5592
@kergeysarjakin5592 7 ай бұрын
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 7 ай бұрын
Some minor changes in IPO code and it worked
@vijayns1900
@vijayns1900 7 ай бұрын
sir can i know, why pair and vector is used instead of hashmap?
@-RakeshDhilipB
@-RakeshDhilipB 7 ай бұрын
18:32 how come O(m+n) complexity
@ganeshjaggineni4097
@ganeshjaggineni4097 7 ай бұрын
NICE SUPER EXCELLENT MOTIVATED
@chaitanyaamajala2582
@chaitanyaamajala2582 7 ай бұрын
Bro i think for the for loop it will be i < n
@RohitKumar-hn6wj
@RohitKumar-hn6wj 7 ай бұрын
thank you.
@JIGARSINGTHAKOR-yy6qp
@JIGARSINGTHAKOR-yy6qp 7 ай бұрын
Bhaiya is "cracking the coding interview " book is worth to buy in 2024???
@prakhargarg4166
@prakhargarg4166 7 ай бұрын
why don't you put timeline in video
@Engineering.Wallah
@Engineering.Wallah 7 ай бұрын
Bhai tu bhi daal sakta hai
@anuverma1486
@anuverma1486 7 ай бұрын
r..r..r..r..right!!
@arnavkaul7827
@arnavkaul7827 7 ай бұрын
Maqsad nhi bhulna hai?? I'm sold brother
@prathamreddy37
@prathamreddy37 7 ай бұрын
After sorting 24,66,99 how did it become 66 99 and 24?
@atharv1510
@atharv1510 7 ай бұрын
class Solution { public: int maxProfitAssignment(vector& difficulty, vector& profit, vector& worker) { int tprofit=0; for(int i=0;i
@PalakKalsi
@PalakKalsi 7 ай бұрын
Used the same logic as IPO.
@milan0023
@milan0023 7 ай бұрын
? Que num
@manjeetyadav5830
@manjeetyadav5830 7 ай бұрын
@@milan0023 502
@RohitKumar-hn6wj
@RohitKumar-hn6wj 7 ай бұрын
@@milan0023 leetcode 502
@PATNAMGNANASAI
@PATNAMGNANASAI 7 ай бұрын
VIP ACCESS
00:47
Natan por Aí
Рет қаралды 30 МЛН
Sigma Kid Mistake #funny #sigma
00:17
CRAZY GREAPA
Рет қаралды 30 МЛН
The evil clown plays a prank on the angel
00:39
超人夫妇
Рет қаралды 53 МЛН
Dependency Injection, The Best Pattern
13:16
CodeAesthetic
Рет қаралды 921 М.
C can do this too
2:09:48
Tsoding Daily
Рет қаралды 2,2 М.
Single-Threaded CPU - Priority Queue - Leetcode 1834 - Python
17:20
Binary Search Algorithm - Computerphile
18:34
Computerphile
Рет қаралды 167 М.
Dynamic Programming isn't too hard. You just don't know what it is.
22:31
DecodingIntuition
Рет қаралды 249 М.
VIP ACCESS
00:47
Natan por Aí
Рет қаралды 30 МЛН