A-D | Leetcode Weekly Contest 396 | Minimum Cost to Equalize Array | Minimum Cost to Equalize Array

  Рет қаралды 2,149

Abhinav Awasthi

Abhinav Awasthi

Күн бұрын

Subscribe to the channel for Amazing Coding and Competitive Programming Content.
Problem A Code: coding75.com/dsa-cp/leetcode-...
Problem B Code: coding75.com/dsa-cp/leetcode-...
Problem C Code: coding75.com/dsa-cp/leetcode-...
Problem D Code: coding75.com/dsa-cp/leetcode-...
🚀 Join Telegram for Post Contest Discussions, Coding Meets, and Important Updates, Join a Community of over 20,000+ Coders: t.me/cpabhinav
📌 Follow me on Instagram for Regular Updates: / iammabhinav
📌 Join my family of 40K+ on Linkedin: / abhinavawasthi01
📌 Whatsapp Channel: whatsapp.com/channel/0029Va55...
👉🏻 Coding Profiles
My Codeforces: codeforces.com/profile/abhina...
My Codechef: www.codechef.com/users/abhina...
My Leetcode: leetcode.com/abhinavawasthi/
👉🏻 Connect with Me
LinkTree- linktr.ee/abhinavawasthi
My LinkedIn- / abhinavawasthi01
My Instagram- / iammabhinav
My Facebook- / awasthi.abhinav.3
My Twitter- / call_me_abhinav
Coding Blogs- abhinavawasthi.code.blog/
coding
programming
competitive programming
software developer
software engineer
interview preparation
interview experience
dsa
Leetcode Weekly Contest 396 solutions
Leetcode Weekly Contest 396 editorials
Leetcode Weekly Contest 396
Weekly Contest 396 solutions
Weekly Contest 396 editorials
Weekly Contest 396
Minimum Cost to Equalize Array solution
Minimum Cost to Equalize Array editorial
Minimum Cost to Equalize Array
Minimum Cost to Equalize Array leetcode editorial
Minimum Cost to Equalize Array leetcode solution
Minimum Cost to Equalize Array leetcode
Minimum Length of Anagram Concatenation leetcode
Minimum Length of Anagram Concatenation
Minimum Length of Anagram Concatenation leetcode solution
Minimum Length of Anagram Concatenation solution
Minimum Length of Anagram Concatenation leetcode editorial
Minimum Length of Anagram Concatenation editorial
Minimum Number of Operations to Make Word K-Periodic
Minimum Number of Operations to Make Word K-Periodic leetcode
Minimum Number of Operations to Make Word K-Periodic leetcode solution
Minimum Number of Operations to Make Word K-Periodic solution
Minimum Number of Operations to Make Word K-Periodic leetcode editorial
Minimum Number of Operations to Make Word K-Periodic editorial
Valid Word
Valid Word leetcode
Valid Word leetcode editorial
Valid Word editorial
Valid Word leetcode solution
Valid Word solution
00:00 Introduction
00:40 Valid Word
04:15 Minimum Number of Operations to Make Word K-Periodic
11:10 Minimum Length of Anagram Concatenation
18:10 Minimum Cost to Equalize Array
37:50 Outro

Пікірлер: 41
@omikakadiya151
@omikakadiya151 Ай бұрын
nicely explained C Just suggestion : Sound is coming less , have a good mic such that your voice comes more .
@AbhinavAwasthi
@AbhinavAwasthi Ай бұрын
Thanks a lot Sure will consider your suggestion
@parthrathod4130
@parthrathod4130 Ай бұрын
Hey Abhinav, thank you for making this editorial. Loved it, was stuck on q3, and q4 but your explanation helped me with up solving. Please do continue making such editorials as and when you get time.
@AbhinavAwasthi
@AbhinavAwasthi Ай бұрын
Thanks a lot
@name1566
@name1566 Ай бұрын
one thing I see among explainers they just EXPLAIN what they have they don't see from the perspective of INITIAL THINKING you also lag here tbh because , I am not here for soln I am here why I was not able to think
@name1566
@name1566 Ай бұрын
I am just saying that , lets say I have opened your video , before seeing your code I should rectify my thinking and code it by my own soln which explains the intuitionS are appreciable
@AbhinavAwasthi
@AbhinavAwasthi Ай бұрын
Got your points, this was actually a quite editorial, as I was busy, so was not able to cover intuition part Will try to improve from next video
@name1566
@name1566 Ай бұрын
@@AbhinavAwasthi Thanks for taking it in a positive way And you have already explained it very well.. Nothing to improve The only thing... Jab koi intuitions Tak le kar jata hai... And me as viewer , mujhe jab intuition hi mil gaya to i don't have to see the code for explanation. Fir lgta hai. Ki atleast code to khud se Kiyw 😅. You are already doing a Great work bhaiya. Subscribed ❣️
@user-xg2vg4px5l
@user-xg2vg4px5l Ай бұрын
For u should record while u are solving sir ??
@Sumeet_100
@Sumeet_100 Ай бұрын
Helpful ! keep it up sir!!
@AbhinavAwasthi
@AbhinavAwasthi Ай бұрын
Thanks a lot
@skyd8551
@skyd8551 Ай бұрын
C well explained Subscribed❤
@AbhinavAwasthi
@AbhinavAwasthi Ай бұрын
Thanks
@kumkumslab5811
@kumkumslab5811 Ай бұрын
what a good explaination sir !!
@AbhinavAwasthi
@AbhinavAwasthi Ай бұрын
Thanks a lot
@aayushmaantawer285
@aayushmaantawer285 Ай бұрын
You code these youself? Because in every question the intuition is missing. I don't think so it's your own!
@user-bo3qg5gr8l
@user-bo3qg5gr8l Ай бұрын
D meh 4*maxi wali condition samjh nhi ayi baki sab thoda bhaut samjh meh aah gaya and C apne acche se samjhaya toh uske liye thks khuch tips dedo contest meh 2 se jayada questions nhi kr pata meh 😢😭
@owais2609
@owais2609 Ай бұрын
for how long you are solving leetcode and code chef and code forces problems.
@AbhinavAwasthi
@AbhinavAwasthi Ай бұрын
3 years
@the_ghost_of_uchiha5939
@the_ghost_of_uchiha5939 Ай бұрын
Very well Explained ❤ Subscribed ❤ Need support like that
@AbhinavAwasthi
@AbhinavAwasthi Ай бұрын
Thanks a lot
@akashsonar6332
@akashsonar6332 Ай бұрын
So the questions was more about math rather than constructive algorithm.
@AbhinavAwasthi
@AbhinavAwasthi Ай бұрын
Right
@ankit_yadav11
@ankit_yadav11 Ай бұрын
Waoo u r the legend 💫💫 understood each word thanku u . ❤🎉
@AbhinavAwasthi
@AbhinavAwasthi Ай бұрын
Thanks a lot
@modiji8706
@modiji8706 Ай бұрын
Hello Bhaiya i want to ask you That is Leetcode Contest is Enough to Crack OA
@-CSE--ArkoChatterjee
@-CSE--ArkoChatterjee Ай бұрын
can you plz explain why did we take 4*maxii as upper bound for target variable ,i didnt get it clearly
@AbhinavAwasthi
@AbhinavAwasthi Ай бұрын
So max value can go upto that only
@shashanktiwari6999
@shashanktiwari6999 Ай бұрын
bhaiya can you please the how much these problem are rated in comparison to codeforces
@AbhinavAwasthi
@AbhinavAwasthi Ай бұрын
Upto expert level we can say
@242deepak
@242deepak Ай бұрын
For last problem why should the target value be more than the current max element?
@AbhinavAwasthi
@AbhinavAwasthi Ай бұрын
Because when you increase the numbers final value will always be greater
@Ramneet04
@Ramneet04 Ай бұрын
Didn't get that limit 2*maxi ??? Can you please explain a bit more, it would be helpfull !!!
@AbhinavAwasthi
@AbhinavAwasthi Ай бұрын
Because the target value will be greater than max, but not much
@Ramneet04
@Ramneet04 Ай бұрын
@@AbhinavAwasthi is there any specific reason or it was just a hit and trial?
@viveksahane1314
@viveksahane1314 Ай бұрын
sir mujhse phla hi question bn pata he aur mujhe kabhi kabhi lgta he ki ye contest mein logoke dimaag itne different approaches kaise soch lete he me kya kru sir i am not much experienced person in coading
@AbhinavAwasthi
@AbhinavAwasthi Ай бұрын
Try krte raho bhai, dheere dheere hota hai
@rohitkumarpilania94
@rohitkumarpilania94 Ай бұрын
Kya rank aayi ?
@AbhinavAwasthi
@AbhinavAwasthi Ай бұрын
Upsolve kiya
@rohitkumarpilania94
@rohitkumarpilania94 Ай бұрын
@@AbhinavAwasthi Virtual diya karo, mazaa ayega if not available in the morning
@vypw3p634
@vypw3p634 Ай бұрын
can this code be modified such a way that it will work ONLY failing 4 testcases 😥😥 class Solution { public: int minAnagramLength(string s) { unordered_map mp; // cout
Чай будешь? #чайбудешь
00:14
ПАРОДИИ НА ИЗВЕСТНЫЕ ТРЕКИ
Рет қаралды 2,9 МЛН
FOOLED THE GUARD🤢
00:54
INO
Рет қаралды 9 МЛН
1 класс vs 11 класс  (игрушка)
00:30
БЕРТ
Рет қаралды 3,6 МЛН
3139. Minimum Cost to Equalize Array | Weekly Leetcode 396
1:05:27
NOT SLEEPING UNTIL I REACH 1700 | Currently 1624
Samay Raina
Рет қаралды 5 М.
DP 50. Minimum Cost to Cut the Stick
30:02
take U forward
Рет қаралды 113 М.
Чай будешь? #чайбудешь
00:14
ПАРОДИИ НА ИЗВЕСТНЫЕ ТРЕКИ
Рет қаралды 2,9 МЛН