Art of Problem Solving: Counting Paths on a Grid

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

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

  • @shaswatsingh3626
    @shaswatsingh3626 5 лет назад +25

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

  • @KAMFlamenco
    @KAMFlamenco 8 лет назад +8

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

  • @yeojunjeon5116
    @yeojunjeon5116 2 года назад +9

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

  • @SamvitAgarwal
    @SamvitAgarwal 6 лет назад +6

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

    • @srsingh888
      @srsingh888 5 лет назад

      yes

    • @haiyang1000
      @haiyang1000 5 лет назад

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

    • @hamburger6665
      @hamburger6665 4 года назад +1

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

    • @memecage7029
      @memecage7029 4 года назад

      hamburger 666 😂😂

    • @hamburger6665
      @hamburger6665 4 года назад

      @@memecage7029 well counting works so i dont care XDDD

  • @zelo_s6707
    @zelo_s6707 8 лет назад +93

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

    • @seal3411
      @seal3411 5 лет назад +2

      ikr

    • @hamburger6665
      @hamburger6665 4 года назад +5

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

    • @zelo_s6707
      @zelo_s6707 4 года назад +5

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

    • @hamburger6665
      @hamburger6665 4 года назад +2

      @@zelo_s6707 XDD

    • @zelo_s6707
      @zelo_s6707 4 года назад +3

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

  • @pcalde256
    @pcalde256 Год назад

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

  • @cavetivitic3134
    @cavetivitic3134 10 месяцев назад +2

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

  • @kinjalsoni4798
    @kinjalsoni4798 6 лет назад +3

    Very useful and nicely explained! 😃👍

  • @Dkdkxncnchz
    @Dkdkxncnchz 3 года назад +2

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

  • @michelletran1039
    @michelletran1039 9 лет назад +5

    Thanks! This was so helpful!

    • @shinsena
      @shinsena 7 лет назад +1

      v skcjdniajeicuruwif

  • @efebora2000
    @efebora2000 5 лет назад +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 5 лет назад +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 5 лет назад +2

      Omkarz Thank you so much!

    • @efebora2000
      @efebora2000 5 лет назад +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 5 лет назад +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 5 лет назад +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

  • @mohamedatti8659
    @mohamedatti8659 2 года назад

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

  • @MrPeacelovejustice
    @MrPeacelovejustice 4 года назад +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.

  • @johnnywong9531
    @johnnywong9531 7 лет назад +1

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

  • @kaustavMM
    @kaustavMM Год назад

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

  • @haleywelliver
    @haleywelliver 5 лет назад +41

    "like most guys, i navigate by gut."

    • @proda4188
      @proda4188 4 года назад +5

      But u are not a guy

    • @wojak6793
      @wojak6793 4 года назад +3

      Pro Da how do you know

    • @gabess
      @gabess 3 года назад

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

  • @곽지안-s9n
    @곽지안-s9n 4 года назад

    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?

  • @soumyajyotipaul4915
    @soumyajyotipaul4915 7 лет назад +1

    extremely useful video

  • @pukumar1
    @pukumar1 3 года назад +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 3 года назад +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.

  • @uwuslayer0211
    @uwuslayer0211 6 лет назад

    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 6 лет назад +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.

  • @drewwang9346
    @drewwang9346 4 года назад +1

    This man is a genius

  • @shinsena
    @shinsena 7 лет назад +6

    you should have done an irregular shaped polygon for that

  • @tonychen1083
    @tonychen1083 8 лет назад

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

  • @luisvercet9977
    @luisvercet9977 4 месяца назад

    shouldn't you have taken in to account that an E followed by an W cancel away, because if you are able to do that a different amount of times in a diferent edge, you would have infinite ways, so maybe if you just count the ways to put NW or SW in the space given and then count the rearangment of the rest of the direcctions. correct me if i am wrong.
    Nice video, keep it up!!

    • @luisvercet9977
      @luisvercet9977 4 месяца назад

      And of course take also into account the NS or SN, that also cancel out

  • @HARSHKUMAR-lb7ey
    @HARSHKUMAR-lb7ey 2 года назад

    thank you so much it helps me a lot .

  • @tameemsani7387
    @tameemsani7387 3 года назад

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

  • @stsfoxfacel9171
    @stsfoxfacel9171 10 лет назад +31

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

  • @GoodBalak
    @GoodBalak 9 лет назад +1

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

    • @kirmichoksi716
      @kirmichoksi716 6 лет назад

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

  • @michaelempeigne3519
    @michaelempeigne3519 7 лет назад +1

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

  • @KuldeepSingh-in3di
    @KuldeepSingh-in3di 10 лет назад

    how you get number 9 in second grid ?

    • @115Carssssssssss
      @115Carssssssssss 5 лет назад

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

  • @katharinewaterton7791
    @katharinewaterton7791 Год назад

    Splendid! Thank you

  • @tonychen1083
    @tonychen1083 8 лет назад +2

    Neatly done!

  • @borismorozov2223
    @borismorozov2223 11 лет назад +2

    pure gold !

  • @christianevans5471
    @christianevans5471 3 года назад

    Astounding pedagogy.

  • @JoeMarGonzales
    @JoeMarGonzales 6 лет назад

    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

  • @navamijain5380
    @navamijain5380 11 лет назад +2

    Amazing!!:) Really helpful! Thx!

  • @sargiskh
    @sargiskh 5 лет назад

    what about 3D? how can we calculate it?

    • @studiousboy644
      @studiousboy644 3 года назад

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

  • @julia_is_a_rat_
    @julia_is_a_rat_ 2 года назад

    This has great YTP potential

  • @veronicatulsa839
    @veronicatulsa839 3 года назад

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

  • @jameshunt5894
    @jameshunt5894 8 лет назад

    Great video!!!

  • @wenwen1111
    @wenwen1111 2 года назад

    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!

  • @antuancaraballo9691
    @antuancaraballo9691 8 лет назад +2

    great explanation!! thank you so much!

  • @agrimmittal
    @agrimmittal 2 года назад

    u are a genius!

  • @behi-u5w
    @behi-u5w 9 лет назад +1

    thank you

  • @himanshukashyap1654
    @himanshukashyap1654 7 лет назад

    Awosome man really love it 😘😘😘

  • @rubyhuang-ey7iw
    @rubyhuang-ey7iw 2 года назад

    gotta make the intro song my new playlist

  • @mikeshinoda2806
    @mikeshinoda2806 11 лет назад +3

    thanks :)

  • @javedakhtar6908
    @javedakhtar6908 4 года назад

    What about souths!!

    • @rohankhetan3700
      @rohankhetan3700 Год назад

      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.

  • @xjourner
    @xjourner 4 года назад

    i subscribed 1 minute into the video

  • @leooel4650
    @leooel4650 4 года назад

    Cheers, Linus

  • @punstress
    @punstress 5 лет назад +4

    I giggled at every Eenneweene

  • @javanpohl3036
    @javanpohl3036 4 года назад

    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 Год назад

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

  • @neelpatel4925
    @neelpatel4925 2 года назад +1

    legend

  • @aaronliao3567
    @aaronliao3567 3 года назад

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

  • @SnoozeDog
    @SnoozeDog 8 лет назад +52

    eeneeweenie lol

  • @niil0y
    @niil0y 6 лет назад +1

    thank you :')

  • @jacobleczycki4106
    @jacobleczycki4106 4 года назад +2

    NO WAY THIS GUY ACTUALLY NAVIGATES BY GUT

  • @markpaliangayan2410
    @markpaliangayan2410 5 лет назад

    thanks

  • @B1SQ1T
    @B1SQ1T 6 лет назад +1

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

  • @abhishek8951
    @abhishek8951 7 лет назад

    nice sir .

  • @chriscozilas
    @chriscozilas 5 лет назад +1

    you a G

  • @deepanchakraborty9413
    @deepanchakraborty9413 4 года назад

    Great Explanation !!! ;)

  • @okotwal7018
    @okotwal7018 6 лет назад

    Watch me whip,watch me 1.50

  • @papasmann
    @papasmann 3 года назад +1

    GRE anyone?

  • @mehmood3184
    @mehmood3184 4 года назад +1

    This person is very Hungry.

  • @nicywolfff8308
    @nicywolfff8308 6 лет назад

    nice vidio

  • @Mosqueetos
    @Mosqueetos 4 года назад

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

  • @abdullahfasbir1457
    @abdullahfasbir1457 4 года назад

    WOw.Good

  • @Key05
    @Key05 3 года назад

    Luv

  • @orangutan79
    @orangutan79 7 лет назад

    Ahahha dude great explanation also really funny

  • @jaivasandani6150
    @jaivasandani6150 7 лет назад +2

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

  • @JustForCute
    @JustForCute 5 лет назад +1

    He looks like he stucked in 2002 Math Class

  • @GudduKumar-zo6fo
    @GudduKumar-zo6fo 6 лет назад

    Maram tata n

  • @darcking99
    @darcking99 4 года назад

    E E N N E W E E N E

  • @anniehe7797
    @anniehe7797 5 лет назад

    Neeneene

  • @jaivasandani6150
    @jaivasandani6150 7 лет назад

    art of problem solving

  • @jaivasandani6150
    @jaivasandani6150 7 лет назад +1

    bruh....

  • @jaivasandani6150
    @jaivasandani6150 7 лет назад +1

    too complicated

    • @keshavl1089
      @keshavl1089 6 лет назад

      Jai Vasandani it was simple

  • @AkshdeepSinghoney
    @AkshdeepSinghoney 8 лет назад

    i liked your, RAAAOUT !!

  • @mitch1285
    @mitch1285 2 года назад

    Bruh get to hte point ffs

  • @najamshah3043
    @najamshah3043 5 лет назад

    Jhatu kya bta rha h

  • @arifbasri4950
    @arifbasri4950 5 лет назад

    Thank you