3 4 On log n Algorithm for Closest Pair I Advanced Optional 32 min

Sdílet
Vložit
  • čas přidán 26. 01. 2017

Komentáře • 16

  • @dolibert
    @dolibert Před 4 lety +2

    Thats exactly what I was shooting for! Nice logical flow and immersive. Kudos

  • @FourOneNineOneFourOne
    @FourOneNineOneFourOne Před 5 lety +1

    This is great! Wish more people saw it

  • @syed7996
    @syed7996 Před 5 lety +3

    You are a legend!

  • @cskunk971
    @cskunk971 Před 3 lety

    Thank you - super useful explanation

  • @JRchchch
    @JRchchch Před 10 měsíci

    great content, thanks for this.

  • @prasadbulusu939
    @prasadbulusu939 Před 7 lety +6

    explanation is bit complex only in this video

  • @yossispektor7511
    @yossispektor7511 Před 6 lety +1

    very clear explanation, better than other videos on this algorithm

  • @snandi1603
    @snandi1603 Před 6 lety +1

    Very clear explanation, but please explain the mystery behind the 7 @25:28. Its not very intuitive.

    • @FourOneNineOneFourOne
      @FourOneNineOneFourOne Před 5 lety +1

      Check the followup video - "3 5 On log n Algorithm for Closest Pair"

    • @code-with-carlos
      @code-with-carlos Před 4 lety

      @Yaseen Mollik Thank you!

    • @vincent3542
      @vincent3542 Před 3 lety

      @Yaseen Mollik Hi, buddy. I was gonna ask you, for this algorithm class. is there an entire class of coursera algorithm from the roughgarden team, too?

  • @CharbelMoutran-fo8br
    @CharbelMoutran-fo8br Před rokem

    very good explanation but the formula: distance = square root((xi-yi)**2 + (xj-yj)**2) is wrong, you should take the square root of the sum of the differences between the x_coordinates and y_coordinates

    • @JRchchch
      @JRchchch Před 10 měsíci

      that can be done as the last step when the final result is returned, becasue square root is one on one and strictly increasing.

    • @JoeBaloney
      @JoeBaloney Před 9 měsíci

      for calculating delta, I would just use abs(x1-x2) + abs(y1-y2), we don't need accurate euclidean distance for comparing distances.

  • @SlimReaper1530
    @SlimReaper1530 Před 7 měsíci

    It's not that hard to explain it with an example smh

  • @lomiification
    @lomiification Před 4 lety +2

    Clickbaity title: I thought this was going to be a video on a logn solution