1552. Magnetic Force Between Two Balls | Binary Search on Answer | Greedy

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

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

  • @vijayanks1714
    @vijayanks1714 5 месяцев назад +46

    4:30 I laugh so loudly😂😂

  • @shriharinair1999
    @shriharinair1999 5 месяцев назад +11

    4:30 thanks for clarification.

  • @manishgaming4638
    @manishgaming4638 5 месяцев назад +12

    Its liks famous agreesive cows question ig

  • @juggernaut-404
    @juggernaut-404 5 месяцев назад +14

    Not me giggling everytime he says 'balls'😭😭
    Anyways, great vid man!!

  • @ssuriset
    @ssuriset 5 месяцев назад +1

    4:30 bhai kya legend hai

  • @deadblood4112
    @deadblood4112 5 месяцев назад +8

    yeah Aryan I know, question is not about yr balls, u don't need to clarify everytime😂
    btw gr8 explanation mate!!

  • @kaushikahire8492
    @kaushikahire8492 5 месяцев назад +1

    just a suggestion...try to explain the approach with some more complex test cases, still it was a great explaination

  • @TusharRaja3009
    @TusharRaja3009 5 месяцев назад +3

    Bro title m plz approach ka hint na dena 😅😅 thanks for these videos

  • @screensipsofficial
    @screensipsofficial 5 месяцев назад

    Great explanation 🎉

  • @sagnikbiswas3268
    @sagnikbiswas3268 5 месяцев назад

    Sort and binary search on the answer. Very standard

  • @x-onlypains-x
    @x-onlypains-x 5 месяцев назад

    You shouldn't give hint in the title, i had to try it myself first but your video popped because i have subscribed!

  • @World-Of-Mr-Motivater
    @World-Of-Mr-Motivater 5 месяцев назад

    oh bro i am extremely thankful to you

  • @kondekarvaishnavi2348
    @kondekarvaishnavi2348 5 месяцев назад

    Aaryan I have a doubt that, is our answer is always the abs diff between any two positions for all the cases?

  • @varunjain3947
    @varunjain3947 5 месяцев назад

    good explanation bruhh

  • @samyakagarwal9565
    @samyakagarwal9565 5 месяцев назад

    thanks bhai

  • @Sharky-1507
    @Sharky-1507 5 месяцев назад +1

    4:30 💀💀

  • @IK-xk7ex
    @IK-xk7ex 5 месяцев назад +1

    I started to solve it as DP problem :(

  • @SIDDHANTJAIN-tx7bo
    @SIDDHANTJAIN-tx7bo 5 месяцев назад

    is it similar to agressive cows problem ??

  • @sundaramagnihotri5896
    @sundaramagnihotri5896 5 месяцев назад

    Recommend me the binary search playlist

  • @ajayprabhu465
    @ajayprabhu465 5 месяцев назад

    we like your explanation on where to place your balls, i mean the balls.

  • @nexclutchy5407
    @nexclutchy5407 5 месяцев назад

    Waiting for this❤

  • @divsworld5925
    @divsworld5925 5 месяцев назад

    Bhaiya please please solve leetcode 2659 make array empty. Even after hours i am not able to get its intuition please bhaiya i can find it proper explanation solution anywhere you are my last hope

  • @Samtoosoon
    @Samtoosoon 5 месяцев назад +2

    😂

    • @cs51904
      @cs51904 5 месяцев назад

      integer overflow bhi ho skta hai na?

  • @codebreaker6578
    @codebreaker6578 5 месяцев назад +4

    i saw his POTD videos daily , but today i would say this explanation is worst.

    • @SananSajid-gf4uh
      @SananSajid-gf4uh 5 месяцев назад +3

      Itna easy question mei kya hi chahiye bhai

    • @manishgaming4638
      @manishgaming4638 5 месяцев назад +1

      bekar me lc wale medium bol rhe
      Literally one of easiest isPossible binary search problem
      If u do brute usi me solution hai

  • @ChefBouny
    @ChefBouny 5 месяцев назад +2

    Shameless

  • @ChefBouny
    @ChefBouny 5 месяцев назад +1

    Girls also watch videos so be respectful

    • @btechstudent1620
      @btechstudent1620 5 месяцев назад +1

      so what dont girls have common sense

    • @worldofgaming748
      @worldofgaming748 5 месяцев назад +5

      its just a simple joke , and girls bhi haasi hogi joke se , chill man

    • @_DashingAdi_
      @_DashingAdi_ 5 месяцев назад +2

      It's a fucking joke a simple one at that. If some girls find that disrespectful they can go watch someone else's explanation