3116. Kth Smallest | Math | Inclusion Exclusion | Binary Search | Bitmasking | Bit Manipulation

แชร์
ฝัง
  • เผยแพร่เมื่อ 14 ต.ค. 2024
  • In this video, I'll talk about how to solve Leetcode 3116. Kth Smallest Amount With Single Denomination Combination | Math | Inclusion Exclusion | Binary Search | Bitmasking | Bit Manipulation
    Let's Connect:
    📱Discord (Join Community) : / discord
    📝Linkedin: / aryan-mittal-0077
    📸 Instagram: / ez.pz.dsa
    💻 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

ความคิดเห็น • 69

  • @bishalkundu7592
    @bishalkundu7592 6 หลายเดือนก่อน +19

    If the interviewer does not accepts my heap solution then I will just simply leave the room! Btw what a great explanation!

    • @CGhitaarth
      @CGhitaarth 6 หลายเดือนก่อน

      hey could you share your heap solution? ty

    • @bishalkundu7592
      @bishalkundu7592 6 หลายเดือนก่อน

      @@CGhitaarth I didn't implemented but I was thinking to generate the first k distinct numbers using heap. But that would have given me TLE, so I avoided that solution

    • @disunique6107
      @disunique6107 6 หลายเดือนก่อน +1

      True 😂

  • @Noob_Coder1234
    @Noob_Coder1234 6 หลายเดือนก่อน +5

    ARYAN , PLEASE EXPLAIN BIT SLOW SUCH PROBLEMS 😂 , BUT THIS EXPLAINATION IS GEM , GOD BLESS U !!

  • @nelsonthekinger
    @nelsonthekinger 6 หลายเดือนก่อน +13

    I barely can't believe what I'm witnessing, this is crazy solution, How much hardwork to reach here? 😵 This is crazy!
    So this are the powers of a CF Expert! Very Impressive! Thanks for the Solution

    • @Noob_Coder1234
      @Noob_Coder1234 6 หลายเดือนก่อน +3

      is he CF expert?

    • @ITACHIUCHIHA-dr8sz
      @ITACHIUCHIHA-dr8sz 6 หลายเดือนก่อน

      i would recommend you try solving codeforces div2 C level problems, then these will not seem intimidating at all, even if you have to watch solution videos

    • @Anonymous____________A721
      @Anonymous____________A721 3 วันที่ผ่านมา

      ​@Noob_Coder1234 master

  • @YashGulhane-uv9yf
    @YashGulhane-uv9yf 6 หลายเดือนก่อน +8

    nice video and explanation. commenting and sharing this video to friends to increase reach .

  • @aashutoshagrawal5239
    @aashutoshagrawal5239 6 หลายเดือนก่อน +6

    If you can slow down your explanation a bit it would increase viewer's attention. Atleast for me I felt like this is a very good problem and you have gone through every approach one can think of and proving it wrong why it cant be in that way but it was too fast for a beginner or a newbie to understand this. A person who is already ranked high wouldn't easily come to yt and watch the solution instead he can go to lc solution section to refer that. So, try to make your solutions a little slow and compatible for a newbie. My personal suggestion only following you since last october.

  • @vaibhavagarwal3757
    @vaibhavagarwal3757 5 หลายเดือนก่อน +1

    You solve these problems which no one touches.
    Thanks aryan for such efforts 😁

  • @vishwasdhanwani6134
    @vishwasdhanwani6134 6 หลายเดือนก่อน +7

    Not today but
    Someday..... Will reach such a level🙌

  • @ShivamYadav-vg5fv
    @ShivamYadav-vg5fv 5 หลายเดือนก่อน

    @17:20 Dont get demotivated brother, you are doing great. You and striver are alike.

  • @vishwajeet172
    @vishwajeet172 3 วันที่ผ่านมา

    You have just got a new subscriber

  • @ashisranjandey7541
    @ashisranjandey7541 5 หลายเดือนก่อน

    Now this explanation is an ART !!! and u r a great artist. Never thought will understand this much in a hard prob.

  • @prathameshkhetre1494
    @prathameshkhetre1494 6 หลายเดือนก่อน

    discovering your channel is the one of the best thing happened to me in my coding journey ✨

  • @Mihir_kathpal
    @Mihir_kathpal 6 หลายเดือนก่อน

    very nice explaination bro.. you are inspiration for those who do not convey solution properly inspite of your problem of fumbling , but i salute your hardwork

  • @nikeshmali8506
    @nikeshmali8506 6 หลายเดือนก่อน

    great explaintion. i always wait for you if i can not solve contest question.

  • @dhairyadutt6819
    @dhairyadutt6819 5 หลายเดือนก่อน

    Very good explanation

  • @HarshaVardhan-fu9kv
    @HarshaVardhan-fu9kv 6 หลายเดือนก่อน

    Great explanation bro .... I was searching for this explanation from contest completion 🙇🙇

  • @nobbiesid1324
    @nobbiesid1324 6 หลายเดือนก่อน +2

    Nice explanation love it !! 🥰🥰

  • @kreideprinz4646
    @kreideprinz4646 6 หลายเดือนก่อน

    great explanation

  • @sanskardhyani4112
    @sanskardhyani4112 6 หลายเดือนก่อน

    The lecture is just amazing like always sir😍

  • @tanmay5663
    @tanmay5663 6 หลายเดือนก่อน

    Great Work

  • @raviprakashgupta9641
    @raviprakashgupta9641 6 หลายเดือนก่อน

    gajab ka solution hai

  • @pranavrao6592
    @pranavrao6592 6 หลายเดือนก่อน

    Very nicely explained 👏🏻👏🏻 Deserves more reach

  • @satwiktatikonda764
    @satwiktatikonda764 6 หลายเดือนก่อน

    it would be helpful if you provide with the nodes u use to explain in vids

  • @user-em3hk3kp6r
    @user-em3hk3kp6r 6 หลายเดือนก่อน

    Keep up the good work bro. The explanation is subtle and profound

  • @fraserdab
    @fraserdab 6 หลายเดือนก่อน +1

    Learnt bit mask and existence of LCM and GDC function

    • @fraserdab
      @fraserdab 6 หลายเดือนก่อน

      and inclusion exclusion use in programming

  • @wellsonny7987
    @wellsonny7987 6 หลายเดือนก่อน

    Great Explaination!!!! Keep up the good work!!!!

  • @shivamchaudhary7574
    @shivamchaudhary7574 6 หลายเดือนก่อน

    Nice explanation

  • @jatishay26
    @jatishay26 2 หลายเดือนก่อน

    maksad nhi bhoolna was the best line 😂

  • @pabitrakb5291
    @pabitrakb5291 6 หลายเดือนก่อน

    Great explanation ❤

  • @ankurprakashsrivastava7764
    @ankurprakashsrivastava7764 6 หลายเดือนก่อน

    subscribed, thanks for making the video

  • @083_tusharsachdeva6
    @083_tusharsachdeva6 6 หลายเดือนก่อน

    ONE OF THE OZEST QUESTIONS

  • @vinaymungra2735
    @vinaymungra2735 6 หลายเดือนก่อน

    Thanks a Lot Aryaan Sir Op

  • @disunique6107
    @disunique6107 6 หลายเดือนก่อน

    Any bit manipulation playlist?? Any suggestions

  • @raviyadav2552
    @raviyadav2552 6 หลายเดือนก่อน

    This is my very first vedio of solving a hard lvl problem and I learn many new concepts for the very first time, but it took me multiple times to understand the problem, and although I get the question but I feel too naive to get to the solution 😅

  • @242deepak
    @242deepak 6 หลายเดือนก่อน

    please add link to code in description. Will be very useful

  • @ioanniskoutoulakis3737
    @ioanniskoutoulakis3737 4 หลายเดือนก่อน

    Thanks! :)

  • @ashish3487
    @ashish3487 6 หลายเดือนก่อน

    bhaiya you explained very well but i am still lacking in the intuition part

  • @harikrushnasuhagiya3925
    @harikrushnasuhagiya3925 6 หลายเดือนก่อน

    Thanks Bro

  • @ParthTagalpallewar
    @ParthTagalpallewar 6 หลายเดือนก่อน

    can we take r as k*(lowest value in coins arr)

  • @venkatarakesh1698
    @venkatarakesh1698 6 หลายเดือนก่อน

    I think space complexity is O(1). Correct me if Iam wrong.

    • @khalidalam980
      @khalidalam980 8 วันที่ผ่านมา

      I also think so. Anybody confirm please

  • @helloimjavauser
    @helloimjavauser 5 หลายเดือนก่อน

    Maksad nahi bhulna hai!!!!

  • @ARYANMITTAL
    @ARYANMITTAL  6 หลายเดือนก่อน +5

    If you are in college do watch this - th-cam.com/video/VAP7AZRewCk/w-d-xo.htmlsi=nDaD3JimS1JFxsrH

  • @kaushikmoralwar07
    @kaushikmoralwar07 6 หลายเดือนก่อน

    7:23 maksad ni bhulna bhaiyoooo 🙂🙂

  • @242deepak
    @242deepak 6 หลายเดือนก่อน

    the time complexity that you told is wrong. Please check it

  • @SanjayKumar-iu7rq
    @SanjayKumar-iu7rq 6 หลายเดือนก่อน +1

    Advance version of ugly number 3 leetcode problem

  • @hhcdghjjgsdrt235
    @hhcdghjjgsdrt235 6 หลายเดือนก่อน +3

    Time Limit Exceeded
    522 / 559 testcases passed
    my sol failed

    • @ramprasath8091
      @ramprasath8091 6 หลายเดือนก่อน

      heap?

    • @hhcdghjjgsdrt235
      @hhcdghjjgsdrt235 6 หลายเดือนก่อน

      @@ramprasath8091 something like that

  • @feelyourbeat7820
    @feelyourbeat7820 6 หลายเดือนก่อน

    4th ki video kab aayegi

  • @rkb_404
    @rkb_404 6 หลายเดือนก่อน +1

    Bro after breakup: Ahh, my ex was mid. midX it is.

  • @craftsworld3237
    @craftsworld3237 6 หลายเดือนก่อน

    4th problem also please

  • @242deepak
    @242deepak 6 หลายเดือนก่อน +1

    If you explain in hindi it will be more clear

  • @yashkalia2311
    @yashkalia2311 6 หลายเดือนก่อน +2

    How can a human solve this?

  • @navinmishra2904
    @navinmishra2904 6 หลายเดือนก่อน +1

    Kch sawal hone layak hi nhi hote

  • @fraserdab
    @fraserdab 6 หลายเดือนก่อน

    2 hard this week is 😢

  • @kanikagyamlani
    @kanikagyamlani หลายเดือนก่อน

    this is going on my suicide note

  • @edithuk2494
    @edithuk2494 5 หลายเดือนก่อน

    crazy solution bro🫡

  • @gauravlandge3356
    @gauravlandge3356 6 หลายเดือนก่อน

    very nice explanation