Leetcode Coding Interview Problems live!

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

КОМЕНТАРІ • 6

  • @meneereenhoorn
    @meneereenhoorn 3 роки тому +1

    1:36:30 If any person (1, 2, ...) takes their own seat, the rest will take their own seat. Suppose that noone took their own seat, then the last person doesn't take their own seat. On the other hand, if someone takes their own seat, then the last person will take their own seat.
    In other words, at any point in the process, there is a binary choice (own or random) place and this cascades to the choice for the last person. If someone took their own seat, then last will take their own seat and if noone took their seat then the last doesn't either. Hence, also the last person has one of two options (as a result of the entire previous process) and hence the probability is 0,5.

    • @meneereenhoorn
      @meneereenhoorn 3 роки тому

      1:56:05 Ah, there was something similar in the video later on.

  • @UltraKillpc
    @UltraKillpc 9 місяців тому

    Watching in 2024, still as refreshing.❤

  • @nitinpandey2859
    @nitinpandey2859 3 роки тому

    Nicely Explained.

  • @bsdwfull
    @bsdwfull 3 роки тому

    Good words about boring;)

  • @asadullahfarooqi254
    @asadullahfarooqi254 3 роки тому

    hey man of course you are pro