Magnetic Force Between Two Balls | Leetcode Medium | Coding Blocks!

Поділитися
Вставка
  • Опубліковано 3 жов 2024

КОМЕНТАРІ • 4

  • @ganeshjaggineni4097
    @ganeshjaggineni4097 3 місяці тому

    NICE SUPER EXCELLENT MOTIVATED

  • @zaffarzeshan1308
    @zaffarzeshan1308 3 місяці тому

    temp dis samj nahi aaya

    • @CodingBlocksIndia
      @CodingBlocksIndia  3 місяці тому

      'temp_dis' is a variable just used to for storing and checking if the current distance is less than 'MID' variable or not. In case it is less then we will keep incrementing it and in-case it becomes equal or greater then we shall increase the count of our total balls in order to compare them with variable 'm'