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

Поделиться
HTML-код
  • Опубликовано: 15 июн 2024
  • 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 Месяц назад +5

    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 Месяц назад +1

    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.

  • @name1566
    @name1566 Месяц назад +6

    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 Месяц назад +3

      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  Месяц назад +7

      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 Месяц назад +1

      @@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 Месяц назад +1

      For u should record while u are solving sir ??

  • @Sumeet_100
    @Sumeet_100 Месяц назад +2

    Helpful ! keep it up sir!!

  • @skyd8551
    @skyd8551 Месяц назад +1

    C well explained
    Subscribed❤

  • @kumkumslab5811
    @kumkumslab5811 Месяц назад +3

    what a good explaination sir !!

  • @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 Месяц назад +5

    for how long you are solving leetcode and code chef and code forces problems.

  • @the_ghost_of_uchiha5939
    @the_ghost_of_uchiha5939 Месяц назад +1

    Very well Explained ❤
    Subscribed ❤
    Need support like that

  • @akashsonar6332
    @akashsonar6332 Месяц назад +1

    So the questions was more about math rather than constructive algorithm.

  • @ankit_yadav11
    @ankit_yadav11 Месяц назад +2

    Waoo u r the legend 💫💫 understood each word thanku u . ❤🎉

  • @modiji8706
    @modiji8706 Месяц назад

    Hello Bhaiya i want to ask you That is Leetcode Contest is Enough to Crack OA

  • @-CSE--ArkoChatterjee
    @-CSE--ArkoChatterjee Месяц назад +1

    can you plz explain why did we take 4*maxii as upper bound for target variable ,i didnt get it clearly

  • @shashanktiwari6999
    @shashanktiwari6999 Месяц назад +2

    bhaiya can you please the how much these problem are rated in comparison to codeforces

  • @242deepak
    @242deepak Месяц назад +1

    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 Месяц назад +1

    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 Месяц назад +1

    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  Месяц назад +1

      Try krte raho bhai, dheere dheere hota hai

  • @rohitkumarpilania94
    @rohitkumarpilania94 Месяц назад +3

    Kya rank aayi ?

  • @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