Leetcode | Biweekly Contest 143 | B | C | 3346 | 3347 | Editorials | Simple Explanation.

Поделиться
HTML-код
  • Опубликовано: 12 ноя 2024

Комментарии • 73

  • @AbhishekGiri-w3i
    @AbhishekGiri-w3i 3 дня назад +16

    This guy is damnnn good at explaining..... save him at any cost...

  • @pr_inv8
    @pr_inv8 2 дня назад +3

    you know man there nothing more impressive than this explanation. Many people are top on lead-boards but they are too sh*t in explanation but look at you. Giving a good explanation like you is way tougher .... you had all my respect!!!

  • @shubhambhatt6913
    @shubhambhatt6913 2 дня назад +1

    This guy never leave anyone disappointed

  • @shashankshekhar542
    @shashankshekhar542 2 дня назад +1

    very nice explanations aise hi videos late rahiyo support from U.P. and Bihar

  • @nanddaclub3972
    @nanddaclub3972 2 дня назад +3

    Thank you so much ❤

  • @shubhambhatt6913
    @shubhambhatt6913 2 дня назад +2

    Bro, genuinely I felt the need for this logic in so many problems and you explained it so clearly, I am very grateful🙏

  • @abhinavkumar6344
    @abhinavkumar6344 3 дня назад +2

    amazing explaination . Thanks

  • @ronakkriplani1838
    @ronakkriplani1838 3 дня назад +2

    Hamesha aise he banate rahiye 🙏🙏🙏

  • @ROHAN-ux7rr
    @ROHAN-ux7rr 2 дня назад +2

    good explnations..continue to do videos like this

  • @tarunpatel1457
    @tarunpatel1457 3 дня назад +1

    kya mast samjaya hai bhai🤩💯💯, new concept sikhne ko mila.

  • @karansundariya3810
    @karansundariya3810 2 дня назад +1

    Really loved your explanation Sir .

  • @GauravDuseja-t6q
    @GauravDuseja-t6q 3 дня назад +1

    Best Explanation thanku bhaiya 🙏

  • @aarkojha5710
    @aarkojha5710 2 дня назад +1

    Pls continue making videos on leetcode contest problems. There are almost no creators doing the kind of explaination u do!

  • @VishalKumar-lk1vf
    @VishalKumar-lk1vf 3 дня назад +1

    well explained understood in one shot only , i solved 2 problem using binary search but could not solved 3 using the same approach , but after this vedieo and have two methods to solve the third problem. thank you

  • @badamguravareddy5735
    @badamguravareddy5735 3 дня назад +1

    Thanks bro Today i learnt New technique.

  • @raulboy5031
    @raulboy5031 3 дня назад +1

    Superb Explanantion

  • @reactcode9148
    @reactcode9148 3 дня назад +2

    Thanks for the editorial

  • @Muralidhar53D
    @Muralidhar53D 3 дня назад +1

    Very good explanation ❤❤

  • @Facts_in_59Sec
    @Facts_in_59Sec 3 дня назад +1

    thank you

  • @gyanikumari4973
    @gyanikumari4973 3 дня назад +1

    Nice explanation 🎉🎉

  • @SharmaJi054
    @SharmaJi054 3 дня назад +1

    Explain with Binary Search Approch

  • @cosmostravelar
    @cosmostravelar 3 дня назад +2

    Good explanation bruh

  • @sudhirhajare9422
    @sudhirhajare9422 3 дня назад +1

    explanation samaj me aya thank you

  • @jitpatel1105
    @jitpatel1105 3 дня назад +1

    Thank you 😊

  • @shwetaj8189
    @shwetaj8189 2 дня назад

    Can we use fixed sliding window here because size of the subarray is fixed from -k to k.

  • @LuffySingh-b4h
    @LuffySingh-b4h 2 дня назад +1

    Really nice explanation .....can you please upload pcds for all contests🥺

    • @pretestpassed157
      @pretestpassed157  2 дня назад +1

      Thankyou. Sure whenever I get time, I will try to upload it.

  • @Study_With_Sachin
    @Study_With_Sachin 3 дня назад +2

    aaj ka contest hard tha 🥲

    • @pretestpassed157
      @pretestpassed157  3 дня назад

      Yes, as compared to previous contests it was a little harder.

  • @Code_Note
    @Code_Note 3 дня назад

    isko Line segments se bhi better visualize karwa sakta ho and woh point lo jo maximum no of segments mai common h.

  • @Amit-zz1bu
    @Amit-zz1bu 3 дня назад

    Please list some problems related to this concept 😊

  • @sayanmondal5973
    @sayanmondal5973 3 дня назад

    Can you send similar questions based on this concept, or tell me what can I search to practise similar such questions ?
    Great video, I thought of using Binary Search but couldn't come up with anything
    Thanks !

  • @NeverLoose-v5i
    @NeverLoose-v5i День назад +1

    is there any solid proof why answer(max freq) will exsist in these critical points like nums[i],nums[i]-1 and nums[i]+1.

  • @rishabhsingh3873
    @rishabhsingh3873 2 дня назад +1

    17:30 pe jo code hai vo work kar raha hai kya?? kyuki agar minRange 0 hai to line no.23 par range[0-1] out of bound hoga

    • @pretestpassed157
      @pretestpassed157  2 дня назад +1

      No, because maine array ni lea huun map lea hun to map me hm -1 ko access kar sakte h.

    • @rishabhsingh3873
      @rishabhsingh3873 2 дня назад +1

      @@pretestpassed157 Thank you for clarifying

  • @GauravDuseja-t6q
    @GauravDuseja-t6q 3 дня назад

    Bhaiya i was thinking 2 problem by binary search lo=mid+1-->if diff(maxElement-curr/(r-mid))>diff(curr-minEle)/(mid-l) else hi=mid-1 but not able to pass all test cases

  • @shashanktiwari6999
    @shashanktiwari6999 3 дня назад +2

    was today's contest hard from your pov?

    • @pretestpassed157
      @pretestpassed157  3 дня назад

      Yes, as compared to other previous contests it was a little hard.

  • @AbhishekKumar-vd1po
    @AbhishekKumar-vd1po 3 дня назад +1

    Hi bro, I have been doing LC for 6 months and have solved many questions, but I can't seem to figure out this approach. How can I master this approach in a short time, and how long have you been solving LC?

    • @pretestpassed157
      @pretestpassed157  3 дня назад

      I am just giving contests, and sometimes to practice some famous DSA problems on Leetcode. Because generally I use codeforces and Cses problems set to practice problems.

  • @ronakkriplani1838
    @ronakkriplani1838 3 дня назад +2

    Bhaiya Kaal weekly ka upload karoge ky?

    • @pretestpassed157
      @pretestpassed157  3 дня назад +1

      Sorry, currently I am traveling so will not be able to upload it.

  • @amarindergill2331
    @amarindergill2331 3 дня назад +1

    Hi bro, i need ur advice abt solving the question in contest, i m not able to solve the question more than one in contest and i m learning dsa more than six months,, i m in very much confusion,what should i do to improve please tell me....

    • @pretestpassed157
      @pretestpassed157  3 дня назад

      Ye sabhi k sath hota h ki start me bhut practice Karo but fir v contest me problem ni bnta. But I will suggest ki practice mat choro and contest k baad try karo un sabhi problem ko upsolve karne ka jo tmse ni bnaa and ye pata karo ki tum solution ke kitne nazdik thee during the contest. Bs khud ko analysis karo ki tmhara kya weak point h because tm khud aapne aap ko aache se smjh sakte ho. Finally practice karte rho and contest upsolve karo result khud pr khud aane lagega.

  • @ambikeshsingh2289
    @ambikeshsingh2289 3 дня назад +1

    Bhaiya codechef ke editorial boht din se nahi aa rhe ,ab nahi bnaoge kya,used to be very helpful

  • @Baishakh-lj1nj
    @Baishakh-lj1nj 3 дня назад +3

    codeforces ka video aega?

    • @pretestpassed157
      @pretestpassed157  3 дня назад

      Aaj me CF ni de paya, islea ni daal paunga.

    • @Baishakh-lj1nj
      @Baishakh-lj1nj 3 дня назад +1

      @pretestpassed157 vai apnka describe bohot accah he.
      Take love from Bangladesh.
      Can you upsolve and please make a video atleast B and C

    • @pretestpassed157
      @pretestpassed157  3 дня назад +1

      Thanks alot.
      Sure agr mujhe time milta h to try karunga.

    • @Baishakh-lj1nj
      @Baishakh-lj1nj 3 дня назад

      @@pretestpassed157 ok..vai

  • @amardeep7714
    @amardeep7714 3 дня назад +1

    bhai tum beech beech m gaayeb kaha ho jaate ho ? atleast hard ques explain krdia kro baaki k contests ka bhi

    • @pretestpassed157
      @pretestpassed157  3 дня назад +2

      Me jab v free rhta to video daal deta huun. Or jis din ni daal paya to it means ki kuch important kaam aa gya ho ( jaise travelling kar rha ya office work me fassa huun) islea ni daal pata, warna mera hamesa sabse jyada priority rhta ki editorial aapne channel me dalne ka.

    • @abcd76820
      @abcd76820 3 дня назад +1

      Haan bhai ❤

  • @mursalinhawlader6407
    @mursalinhawlader6407 День назад

    cf ans please

  • @workonedu3535
    @workonedu3535 3 дня назад +1

    Thank you