Art of Problem Solving: Counting Paths on a Grid

Sdílet
Vložit
  • čas přidán 27. 12. 2011
  • Art of Problem Solving's Richard Rusczyk explains how to count the number of paths from one point to another on a grid.
    Learn more problem solving techniques at our site: bit.ly/ArtofProblemSolving

Komentáře • 123

  • @yeojunjeon5116
    @yeojunjeon5116 Před rokem +5

    "EENNEWEENE is one word that is worth almost a thousand pictures."
    - Richard Rusczyk, 2012

  • @shaswatsingh3626
    @shaswatsingh3626 Před 5 lety +24

    You've earned yourself a subscriber. And that last joke earned you the like. :)

  • @KAMFlamenco
    @KAMFlamenco Před 7 lety +8

    This video really helped me understand the Lattice Path problem. Many thanks!!

  • @pcalde256
    @pcalde256 Před 11 měsíci

    Wow, thank you very much, I was really struggling on why it was this way and you really nailed the explanation

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

    Very useful and nicely explained! 😃👍

  • @tonychen1083
    @tonychen1083 Před 7 lety +2

    Neatly done!

  • @navamijain5380
    @navamijain5380 Před 11 lety +2

    Amazing!!:) Really helpful! Thx!

  • @jameshunt5894
    @jameshunt5894 Před 8 lety

    Great video!!!

  • @michelletran1039
    @michelletran1039 Před 9 lety +5

    Thanks! This was so helpful!

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

      v skcjdniajeicuruwif

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

    extremely useful video

  • @borismorozov2223
    @borismorozov2223 Před 11 lety +2

    pure gold !

  • @katharinewaterton7791

    Splendid! Thank you

  • @antuancaraballo9691
    @antuancaraballo9691 Před 8 lety +2

    great explanation!! thank you so much!

  • @HARSHKUMAR-lb7ey
    @HARSHKUMAR-lb7ey Před rokem

    thank you so much it helps me a lot .

  • @user-kn5sc2kp3u
    @user-kn5sc2kp3u Před 4 lety

    Can i ask how to count the amount of turns on a grid if its m by n and m is always bigger then m, what formula?

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

    very simple method. I like it when it looks simple and explanation included.

  • @youtubeuser4803
    @youtubeuser4803 Před 8 lety +1

    thank you

  • @drewwang9346
    @drewwang9346 Před 4 lety +1

    This man is a genius

  • @zelo_s6707
    @zelo_s6707 Před 8 lety +90

    Ok, So when does a Hot Dog Stand Turn Into Thai Food?? You'll understand in he beginning of the video

    • @seal3411
      @seal3411 Před 5 lety +2

      ikr

    • @hamburger6665
      @hamburger6665 Před 4 lety +4

      XDD Lmao imagine how i laughed when i realises wut u mean. Take my like bro

    • @zelo_s6707
      @zelo_s6707 Před 4 lety +5

      @@hamburger6665 I honestly don't remember this comment lmao

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

      @@zelo_s6707 XDD

    • @zelo_s6707
      @zelo_s6707 Před 4 lety +3

      @@hamburger6665 I also can't seem to remember the joke, please enlighten me

  • @kaustavMM
    @kaustavMM Před rokem

    This helped a lot. They didn't teach this in combinatorics

  • @SamvitAgarwal
    @SamvitAgarwal Před 6 lety +5

    Is there a way to do this if some of the squares are blocked(you cant cross them)?

    • @srsingh888
      @srsingh888 Před 5 lety

      yes

    • @haiyang1000
      @haiyang1000 Před 4 lety

      @@srsingh888 how should this be done - when some squares are blocked? can you explain?

    • @hamburger6665
      @hamburger6665 Před 4 lety +1

      @@haiyang1000 welp same quesion
      although I breaked the quesion with brutal force (counting)

    • @memecage7029
      @memecage7029 Před 4 lety

      hamburger 666 😂😂

    • @hamburger6665
      @hamburger6665 Před 4 lety

      @@memecage7029 well counting works so i dont care XDDD

  • @arifbasri4950
    @arifbasri4950 Před 5 lety

    Thank you

  • @himanshukashyap1654
    @himanshukashyap1654 Před 6 lety

    Awosome man really love it 😘😘😘

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

    May I know if this topic is covered in PreAlgebra text book by Aops

  • @mikeshinoda2806
    @mikeshinoda2806 Před 11 lety +3

    thanks :)

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

    thank you :')

  • @pukumar1
    @pukumar1 Před 3 lety +2

    Great explanation, thanks for posting. In the first part of the problem, are the number of paths counted to get to the destination in the shortest way, or are they all possible combinations? A traveler could also go N-E-S-E-N-E-S-E-N-E? Could you please advise?

    • @kelleybarnes7487
      @kelleybarnes7487 Před 2 lety +6

      There are an infinite number of paths if you don't set any parameters. For example, you can walk in a circle a hundred times then continue to your destination. This problem is counting the number of shortest paths.

  • @Dkdkxncnchz
    @Dkdkxncnchz Před 2 lety +1

    can't believe this man literally finished the 30min class in 8:47

  • @abhishek8951
    @abhishek8951 Před 7 lety

    nice sir .

  • @agrimmittal
    @agrimmittal Před rokem

    u are a genius!

  • @shinsena
    @shinsena Před 6 lety +6

    you should have done an irregular shaped polygon for that

  • @haleywelliver
    @haleywelliver Před 4 lety +41

    "like most guys, i navigate by gut."

    • @proda4188
      @proda4188 Před 4 lety +5

      But u are not a guy

    • @wojak6793
      @wojak6793 Před 4 lety +3

      Pro Da how do you know

    • @gabess
      @gabess Před 3 lety

      @@wojak6793 cuz she has a feminine name and a girl profile picture

  • @tameemsani7387
    @tameemsani7387 Před 2 lety

    great explanation......btw you look like jimmy from better call saul

  • @christianevans5471
    @christianevans5471 Před 2 lety

    Astounding pedagogy.

  • @tonychen1083
    @tonychen1083 Před 7 lety

    Plz can anyone tell me that how can I find the path number in a grid has obstacles(which can block some path)

  • @leooel4650
    @leooel4650 Před 4 lety

    Cheers, Linus

  • @stsfoxfacel9171
    @stsfoxfacel9171 Před 9 lety +32

    Like for "one word that's worth almost a thousand pictures" :D

  • @uwuslayer0211
    @uwuslayer0211 Před 5 lety

    so how do u find the total no of paths? one step west is just one possibility, he could have taken 4 steps west or maybe 2 steps south and 2 west? Then how will you find the total no of paths? Should we just consider it to be infinity or can we calculate it?

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

      If you are allowed to take as many west steps as possible, then there is nothing to keep you moving towards the destination. So you're right, it would be infinite as you could easily just circle (square really) back and forth.

  • @mohamedatti8659
    @mohamedatti8659 Před 2 lety

    How to calculate the number of rows of Arrays in PV plant of a non uniforme shape

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

    If we were looking at a 10x10 grid, how many paths could be taken if we could only go up and right (north and east)?

    • @SuperOmkarz
      @SuperOmkarz Před 5 lety +4

      So 10x10 grid means we have to take 20 steps.
      Of these 20 steps 10 need to be north and 10 need to be east.
      So choose any direction, I choose north in this case, and find the nCr.
      So, 20C10 = 184756

    • @efebora2000
      @efebora2000 Před 5 lety +2

      Omkarz Thank you so much!

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

      oh also let’s say that we draw a diagonal line thru the 10x10 grid, how would we find the all paths that don’t cross above the diagonal? so basically we can only go up or right again however this time the order matters because we can’t go above the diagonal line cutting the 10x10 in half. Our professor asked this question as a bonus credit and I realized that everyone in class was struggling so I’m just hoping to find an answer for it somewhere. Thank you again for your time

    • @SuperOmkarz
      @SuperOmkarz Před 5 lety +2

      @@efebora2000 I think the answer would be half of the answer without the diagonal which is 92378.
      I currently don't have a pen and paper with me to work out the math, I will post a definitive answer later.
      Edit: It is definitely not just half, it is a lot less than that

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

      Omkarz I thought about that too but this time the order matters so I think we might need to use permutation (nPr) instead of combination (nCr). Thank you for your time, I just need to find an answer before 8am tmrw I’ll also try my best to work it out. Thanks for the help

  • @markpaliangayan2410
    @markpaliangayan2410 Před 4 lety

    thanks

  • @jihadijesus2346
    @jihadijesus2346 Před 4 lety

    nice!

  • @julia_is_a_rat_
    @julia_is_a_rat_ Před rokem

    This has great YTP potential

  • @deepanchakraborty9413
    @deepanchakraborty9413 Před 4 lety

    Great Explanation !!! ;)

  • @neelpatel4925
    @neelpatel4925 Před rokem +1

    legend

  • @MrPeacelovejustice
    @MrPeacelovejustice Před 3 lety +1

    "Like most guys, I navigate by gut" 0:55
    a gut full of hot dogs, egg sandwiches, Indian food, and fantastic Thai food from another hot dog stand.
    Seems like the gut directs men directly to food.

  • @GoodBalak
    @GoodBalak Před 8 lety +1

    How do you compute the number of ways if there is way to move diagonally upwards, towards the right?

    • @kirmichoksi716
      @kirmichoksi716 Před 5 lety

      Did you find the answer for this? I'd like to know.

  • @KuldeepSingh-in3di
    @KuldeepSingh-in3di Před 10 lety

    how you get number 9 in second grid ?

    • @115Carssssssssss
      @115Carssssssssss Před 5 lety

      Kuldeep Singh after you make a step west there are only 9 steps left

  • @rubyhuang-ey7iw
    @rubyhuang-ey7iw Před rokem

    gotta make the intro song my new playlist

  • @xjourner
    @xjourner Před 4 lety

    i subscribed 1 minute into the video

  • @nicywolfff8308
    @nicywolfff8308 Před 6 lety

    nice vidio

  • @punstress
    @punstress Před 4 lety +4

    I giggled at every Eenneweene

  • @JoeMarGonzales
    @JoeMarGonzales Před 6 lety

    So I was doing some Coderbyte challenges and a problem similar to this came up... spent hours figuring it out myself, came up with some tidbits of the solution but never quite made it. So I gave up and looked at other people's solution which confused the fuck out of me. Thanks to this video I feel a little less dumb now

  • @sargiskh
    @sargiskh Před 5 lety

    what about 3D? how can we calculate it?

    • @studiousboy644
      @studiousboy644 Před 3 lety

      You have three choices to make +x +y and -z, then same procedure.

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

    you a G

  • @abdullahfasbir1457
    @abdullahfasbir1457 Před 4 lety

    WOw.Good

  • @wenwen1111
    @wenwen1111 Před rokem

    I was going to say hey you can't take the first step west then i realised the starting point wasn't at the corner!

  • @Key05
    @Key05 Před 2 lety

    Luv

  • @veronicatulsa839
    @veronicatulsa839 Před 3 lety

    Is his compass right? I get what he’s saying it’s just kinda throwing me off

  • @SnoozeDog
    @SnoozeDog Před 7 lety +52

    eeneeweenie lol

  • @cavetivitic3134
    @cavetivitic3134 Před 5 měsíci +1

    These Study Pug ads be annoying while I watch this vid:/

  • @aaronliao3567
    @aaronliao3567 Před 2 lety

    Eenneweene which actully mean east, west, north,rather than ________

  • @orangutan79
    @orangutan79 Před 7 lety

    Ahahha dude great explanation also really funny

  • @byofski
    @byofski Před 3 lety +1

    GRE anyone?

  • @okotwal7018
    @okotwal7018 Před 6 lety

    Watch me whip,watch me 1.50

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

    You eat two hot dogs and one egg sandwich on the way to work? Why no breakfast

  • @javedakhtar6908
    @javedakhtar6908 Před 4 lety

    What about souths!!

    • @rohankhetan3700
      @rohankhetan3700 Před rokem

      We are taking the scenario in which you can only move north or east. If we were able to move south, we could have infintite solutions.

  • @javanpohl3036
    @javanpohl3036 Před 3 lety

    8 steps? That's a 3x5 grid... don't we have a maximum of 15 steps we can take? Why do we only consider 8 steps (and then 9)?

    • @alpharigel5777
      @alpharigel5777 Před rokem

      We can only move right and up.
      3x5 covers all movements. Which is not asked.

  • @mehmood3184
    @mehmood3184 Před 4 lety +1

    This person is very Hungry.

  • @anniehe7797
    @anniehe7797 Před 4 lety

    Neeneene

  • @GudduKumar-zo6fo
    @GudduKumar-zo6fo Před 6 lety

    Maram tata n

  • @jacobleczycki4106
    @jacobleczycki4106 Před 3 lety +1

    NO WAY THIS GUY ACTUALLY NAVIGATES BY GUT

  • @AkshdeepSinghoney
    @AkshdeepSinghoney Před 7 lety

    i liked your, RAAAOUT !!

  • @darcking99
    @darcking99 Před 4 lety

    E E N N E W E E N E

  • @jaivasandani6150
    @jaivasandani6150 Před 6 lety

    art of problem solving

  • @JustForCute
    @JustForCute Před 4 lety +1

    He looks like he stucked in 2002 Math Class

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

    bruh....

  • @Mosqueetos
    @Mosqueetos Před 4 lety

    Why take (8/3(North)) and not (8/5(East))

  • @najamshah3043
    @najamshah3043 Před 5 lety

    Jhatu kya bta rha h

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

    too complicated

  • @jaivasandani6150
    @jaivasandani6150 Před 6 lety +2

    just a suggestion
    make your videos more simple.....thanks

  • @mitch1285
    @mitch1285 Před 2 lety

    Bruh get to hte point ffs