2D Paths I - Quant Interview Question

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

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

  • @esquilimoso
    @esquilimoso 2 месяца назад

    The problem statement is missing a couple of constraints. One is stated as "obvious" in the video (no repeated paths), but strictly speaking, the problem is asking for the *shortest* possible paths. Getting from (0, 0) to (6, 6) in 18 steps is also a path, for example.

    • @QuantQuestionsio
      @QuantQuestionsio  2 месяца назад +2

      Yes it is obvious because if we could repeat paths, then the answer would be infinite.
      For your second point, there is no shortest possible path, all paths are moving 6 spaces to the right and 6 spaces up. (the questions not missing anything)

    • @QuantQuestionsio
      @QuantQuestionsio  2 месяца назад

      Hope this helps :)

  • @ItzGanked
    @ItzGanked 3 месяца назад +3

    cartesian cords has my pixel cord system brain scrambled

  • @jwh523
    @jwh523 4 месяца назад +1

    (12 choose 6)