The River-Crossing Puzzle (Dino + Santa edition)

  Рет қаралды 88,681

carykh

carykh

Күн бұрын

Пікірлер: 436
@galacticfish6380
@galacticfish6380 Жыл бұрын
Loved the generalizing of the solution at the end there, but I wonder, what if we adjust the number of people rather raft can carry? That expands the number of movement vectors we get so I can imagine that we would get different solutions. Is there any point at which we would need more rafts, or does that stop once one extra person can get on?
@tetrachart4156
@tetrachart4156 Жыл бұрын
I mean theses also the consideration of if the Dino eating Santa caveat should be applied also on the rafts as well.
@carykh
@carykh Жыл бұрын
Thanks galacticfish! Oooh, bigger rafts is an interesting variation to try. I think it actually wouldn't be too hard to test - I'd just have to add more legal moves to my array, which right now is (1,0,1), (2,0,1), (0,1,1), (0,2,1), (1,1,1). Tetrachart brings up an interesting point though, that 2 Dinos could eat a Santa while on the raft haha My guess is, once we have a raft that can hold 4 creatures, you can just shimmy along the diagonal (2D + 2S cross, 1D + 1S come back, repeat over and over)
@Aelfraed26
@Aelfraed26 Жыл бұрын
@@carykh You should do a short with the increased carrying capacity of each raft.
@kleko
@kleko Жыл бұрын
Adding capacity should just change the previous constant in n - 2 rafts yeah? as in n - x where n is amount of santas and x is raft carry capacity. Well kinda. I'm not enough of a math kid to add a stipulation that the sum must be at least 1, but other than that it should be correct. Any added capacity should just push the middle gap problem one step further away.
@syfontenot7427
@syfontenot7427 Жыл бұрын
@@carykh Could possibly change the nom nom condition from strictly greater than to greater than or equal to and then to greater than or equal to Santas - 1. I do fear, however, that the same patterns will arise on the edge cases (where size is 1 off nom nom threshold). And I assume there is a way to procedurally calculate moves rather than hardcoding them to an array. Another expansion could be of adding like a rock-paper-scissors equivalent (idk the specifics), but that’ll get rid of the 3 dimensions. Perhaps have a graph of graphs and at some point (if you delve into 5 or 6 dimensions) just display the result(s) instead. Love this graph theory approach!
@MeesterTweester
@MeesterTweester Жыл бұрын
Santa should fly on his sleigh across the river
@asheep7797
@asheep7797 Жыл бұрын
The last 9 word TWOW-Mission.
@IMC_123
@IMC_123 Жыл бұрын
@@asheep7797 the Nine Words Of Intelligence
@rhebucks_zh
@rhebucks_zh Жыл бұрын
I watched 3 seconds of your video confessional and I now know that the description "the sun kid" makes sense.
@naterhythm
@naterhythm Жыл бұрын
genius
@Muwqas
@Muwqas Жыл бұрын
@@IMC_123 NWOI
@shuu-wasseo
@shuu-wasseo Жыл бұрын
omg this is such an interesting way to visualise the puzzle! i wonder what other similar puzzles look like on a similar graph
@ioium299
@ioium299 Жыл бұрын
but you believe the ted-ed riddle is wrong?
@shuu-wasseo
@shuu-wasseo Жыл бұрын
@@ioium299 what
@garyweibel1372
@garyweibel1372 Жыл бұрын
I’ll keep this in mind next time I’m visiting the North Pole in the Cretaceous period
@SonicPman
@SonicPman Жыл бұрын
As a Yoshi, I’m glad carykh is finally giving us some representation.
@f.u.m.o.5669
@f.u.m.o.5669 Жыл бұрын
True. I'm a Yoshi rights activist.
@polyplayer
@polyplayer 11 ай бұрын
Ditching Yoshis off a cliff should be illegal
@PrideEepy64
@PrideEepy64 11 ай бұрын
@@polyplayerYoshi is popular on Super Mario Galaxy 2 that doesn’t exist on 3D All Stars Back in March 31st 2021
@polyplayer
@polyplayer 11 ай бұрын
@@PrideEepy64 im talking about super mario world
@PrideEepy64
@PrideEepy64 11 ай бұрын
@@polyplayer I know but I was also referring to another part of Yoshi in Super Mario Galaxy 2 I am aware of Yoshi cliff in Super Mario World
@koopa472
@koopa472 Жыл бұрын
8:20 no way!!!!! Jokes aside, this is a really cool visualization of this problem that I never would’ve thought of. Great video as always!
@unarei
@unarei Жыл бұрын
every state that can be explored hazbin
@thomasrosebrough9062
@thomasrosebrough9062 Жыл бұрын
Love this new style of video editing, Cary! I can tell you had fun with little bits like the "so wasteful" voice in the background lol
@pinkorcyanbutlong5651
@pinkorcyanbutlong5651 Жыл бұрын
Pretty neat visualisation, would be a fun project (for me, or someone else) to write a solver using these heuristics, given an 'n' input, output an array of vectors of each step Also, I guess you chose this version of the puzzle (or, TED-Ed) because its the easier one to visualize and reason about, while the other versions are more nuanced, like the one with the farmer, wolf, goat, and cabbage, or the one with a whole family that is super weird
@carykh
@carykh Жыл бұрын
Thanks PinkorCyan! Yeah, I did feel lucky when I realized this version of the puzzle only has 3 dimensions, when many other variations could easily have 5, 10, 15. Interestingly, the wolf+goat+cabbage one (which is arguably more well-known) actually has a 3D representation I found on Wikipedia! (but it's designed slightly differently)
@Bladieblah
@Bladieblah Жыл бұрын
1:32 Ha, I knew you would slip and call em Yoshi's at least once! Cool Yoshi models btw, honestly clicked for the Yoshi, wondering what it was doing here in a puzzle video
@DGCubes
@DGCubes Жыл бұрын
8:58 Cary's getting too real :P Love the video!!
@AgainsaidBen
@AgainsaidBen Жыл бұрын
So great! I feel like I'm actually understanding the world in extra dimensions. P.S. I still show your scale of the universe to my students every term.
@carykh
@carykh Жыл бұрын
Thanks Ben! Oh wow, it's really cool to hear that my Scale of Universe is still playing a small part in students' education 😃 (One of these days the students themselves will be younger than the website, aaaaaa)
@flyingduck91
@flyingduck91 Жыл бұрын
extra dimensions? this is just 3d
@AgainsaidBen
@AgainsaidBen Жыл бұрын
@@flyingduck91 agreed, but it *feels* like extra dimensions, probably because as he stated in the video, we're used to looking at the problem from only one particular perspective, not all at once.
@drenz1523
@drenz1523 Жыл бұрын
Now that I think about it, is a scale of the universe website with 3d models ever possible?
@Horbiflorbin
@Horbiflorbin Жыл бұрын
​@@drenz1523i guess? It's just replacing anything 2d with 3d models besides stuff like text and ui It would take AGES but would be possible
@Monkeylordz88
@Monkeylordz88 Жыл бұрын
I love your algorithm videos and how you explore the concepts visually, so glad to see them return!
@handupandu6000
@handupandu6000 Жыл бұрын
i love the visualization, i never would have thought about it this way. your videos are the best
@Siuwajansiwa
@Siuwajansiwa Жыл бұрын
I like how it shows these visualizations can offer insights that are hard to see by just thinking through it.
@keyboardtalk
@keyboardtalk Жыл бұрын
8:56 dang that got deep really quick... Had to solve this problem in college using PROLOG. Never fully understood how that worked.
@RTOF
@RTOF Жыл бұрын
I am really loving this method of visualization, it’s just one of the simplest
@patrickgh3
@patrickgh3 Жыл бұрын
Love this visualization, that it generalizes to an arbitrary number of dinos, santas, and rafts, and that you can be confident you didn't miss any alternate solutions! :) Fantastic video!
@Meowicat
@Meowicat Жыл бұрын
Yoshis: flutterjump across the river Santas: use their sleigh to fly over the river Raft: :(
@javianwilliams7463
@javianwilliams7463 Жыл бұрын
1:17 “-in their journey, the Dinosaurs can’t help but eat the Santa, killing him.” (Childhood Memories of Winter plays)
@Healion123
@Healion123 Жыл бұрын
this is really satisfying to watch! seeing how you dissected the graph to show the solution was cool
@DPS-2004
@DPS-2004 Жыл бұрын
i keep on forgetting that rdl members exist outside of rdl and being surprised
@wankadool2111
@wankadool2111 Жыл бұрын
@@DPS-2004 i keep forgetting that rdl exists
@javianwilliams7463
@javianwilliams7463 Жыл бұрын
0:42 “None of these creatures can swim.” (Childhood Memories of Winter plays)
@matthewgoodman434
@matthewgoodman434 Жыл бұрын
I've been working on a similar thing, making data visualizations for the puzzle "signpost". the terminology of graph types that you mentioned will definitely be useful to me. thanks!
@philyk.illagan3161
@philyk.illagan3161 Жыл бұрын
I was thinking about the river puzzle quite recently. Nice to see a mathematical explanation behind it. I love math (except when I was taking soul-crushing classes in college)! Also, it's nice to be early for a video.
@jdh9419
@jdh9419 Жыл бұрын
1:30 He got tired of saying dinosaur and finally saved our souls
@winrg1234
@winrg1234 Жыл бұрын
the whole of the universe tends towards entropy, and this is just one example. you're welcome. 10 points to me.
@sergodobro2569
@sergodobro2569 Жыл бұрын
That is a very cool way to find the solution! And you mentioned the graphics library you used, thanks for that either! Thanks for the quality content!
@MrSpartaa
@MrSpartaa Жыл бұрын
10/10 content
@jimgu2578
@jimgu2578 Жыл бұрын
This is amazing! Especially the generalization part.
@minebrandon95264
@minebrandon95264 Жыл бұрын
Yeah this video makes it so much easier to understand than the ted ed video especially with the higher level crossings
@Bigman74066
@Bigman74066 Жыл бұрын
Excellent video about an excellent solution 👍. I hope you will keep making videos like this!
@BladeTheGabite
@BladeTheGabite Жыл бұрын
I would really love to see this with other bridge crossing problems like the lamp and torch one!
@dunlopchop
@dunlopchop Жыл бұрын
would never think to see so many tautologies of the river-crossing puzzle being fleshed out in one comfortable niche since this interpretation of the experiment would agree in every aspect
@dolphin2.0.
@dolphin2.0. Жыл бұрын
Yoshi: how do we get across this river Santa: I know graph theory Yoshi: why? Santa: I've solved the traveling salesman problem
@Kreypossukr
@Kreypossukr Жыл бұрын
Insane visualization !! Great work !
@shinatham53
@shinatham53 8 ай бұрын
*Yoshi is eating Santa* DEATH P.A.C.T. (Both Past and Present): Not on our watch
@Twin138956Productions2019
@Twin138956Productions2019 Жыл бұрын
Happy 2023, Cary. That one is a nice puzzle there.
@bumperman_
@bumperman_ Жыл бұрын
hey cary! im going into highschool soon and ive been watching your videos all throughout middle school! your videos got me interested in programming and ive been learning python! thanks for inspiring me so much and I want wait for the next upload!
@Kaikaku
@Kaikaku Жыл бұрын
1:08 "The dinosaurs still have this biological urge to eat humans." -> Sorry, they don't. They had never the opportunity to develop such an urge 😉
@brodiscool2752
@brodiscool2752 Жыл бұрын
There's a variation on this puzzle I saw a while back that is probably easier. You are a farmer with a Wolf, Chicken, and bag of corn. You must cross a river with a boat that only you may paddle and may only hold one item. If the Wolf is ever left alone with the Chicken you die and if the Chicken is left with the Corn you die. The Wolf may never eat the Corn however. [Solution Below] The solution would be to row the chicken over first then come back with nothing, then to row the wolf over and come back with the chicken (the wolf doesn't eat the chicken since you are there) then take the corn immediately back to the wolf and go back then take the chicken across.
@johnchessant3012
@johnchessant3012 Жыл бұрын
Very nice visualization and generalization!
@ValeBridges
@ValeBridges 9 ай бұрын
3:51 This bit reminds me of the part of jan Misali's video on regular polyhedra, specifically the part about zig-zag/skew polygons
@floof.floofington.the.floo-rth
@floof.floofington.the.floo-rth Жыл бұрын
Ted-ed is exactly why I know this! One of the first riddles I’ve learned AND solved actually!
@pixarinaimateinsanityyokai2984
@pixarinaimateinsanityyokai2984 Жыл бұрын
Happy 26th birthday Cary Huang!
@AngelGonzalez-bj6mo
@AngelGonzalez-bj6mo Жыл бұрын
It is really interesting to see these type of videos after a semester in college full of classes with stuff like this
@qu765
@qu765 Жыл бұрын
Me and my homies when we have 30 santas 30 dinosaurs but only 27 rafts: :(
@Controlly
@Controlly Жыл бұрын
0:39 FIREY UNDERWEAR!? That’s my kidnapper!
@rootdog442
@rootdog442 Жыл бұрын
This video was pretty interesting as I stuggled with the puzzle before, this video help me though. Very cool graphing from the origin
@ItsAdamHere
@ItsAdamHere Жыл бұрын
Happy birthday Cary!
@Elec-citrus
@Elec-citrus Жыл бұрын
another day of carykh beating TED-Ed at problem solving :)
@nonagonguy6121
@nonagonguy6121 Жыл бұрын
You are the very last person I would expect a hazbin hotel reference from. Not complaining though
@epsilon9669
@epsilon9669 Жыл бұрын
thanks for the 3 am upload while I'm awake with covid, appreciate it my man
@fossposs6408
@fossposs6408 Жыл бұрын
from the thumbnail i somehow thought this was a veritasium video until i was like “wait that sounds like cary!” lmao anyways that’s a pretty (and) elegant solution ngl, cool work!
@tamsilwashere
@tamsilwashere Жыл бұрын
I realized the Hazbin Hotel reference with Angeldust!
@matthewtosg
@matthewtosg Жыл бұрын
I remember learning something like this in class one actually.
@RennaTempest
@RennaTempest Жыл бұрын
im just happy to see that you also use processing
@jellyfish8771
@jellyfish8771 Жыл бұрын
Happy late birthday Cary!!!!
@RetroEgg2
@RetroEgg2 Жыл бұрын
0:40 this is the most cursed firey i have ever seen. Fire boiii
@RetroEgg2
@RetroEgg2 Жыл бұрын
A fire w/ a baby dipar
@elmomaster659
@elmomaster659 Жыл бұрын
No it's firey underwear
@mrs.willwood
@mrs.willwood Жыл бұрын
I am so stupid I didn’t understand this but it was very entertaining to see you figure everything out!
@MrSpartaa
@MrSpartaa Жыл бұрын
no santas were harmed in the making of this
@Spring.lock.Sissy-1234
@Spring.lock.Sissy-1234 Жыл бұрын
I love this but more animation would be nice and especially more commentary but I'm glad you're branching out
@zoutig.4725
@zoutig.4725 Жыл бұрын
Very glad the santa eating dinosaurs are extinct by now would have been disastrous for christmas.
@CamOrSomething
@CamOrSomething 11 ай бұрын
move #1. move 2 dinos | move #2. move 2 santas | move #3. move the remaining santa and dino
@fernozzle
@fernozzle Жыл бұрын
Beautiful!
@bsodaman
@bsodaman Жыл бұрын
hey there micheal
@Crudely-Drawn-Cupcake
@Crudely-Drawn-Cupcake Жыл бұрын
Oh look it’s yoshi! Hi yoshi! Anywho, this is a great visualization of the river crossing puzzle!
@shieldgenerator7
@shieldgenerator7 Жыл бұрын
i love how you expanded the problem
@dreamer5959
@dreamer5959 Жыл бұрын
Really cool visualization. I remember playing a game like that as a kid, except it was with sticks, wolves, goats and cabbages. I don't think it would be possible to make it into a similar graph if there are more than 2 kinds of creatures
@TheRabbitPoet
@TheRabbitPoet Жыл бұрын
It can be done, but it gets harder to visualize because each new type of creature becomes its own axis (for example, the one you described would be a 4d graph) Numberphile did a visualization on the 1 wolf, 1 sheep and 1 cabbage version Edit: here's the link kzbin.info/www/bejne/kHS5cnqYZsqYbqM
@AirNeat
@AirNeat Жыл бұрын
wtf? kary KH science video again? finally!
@javianwilliams7463
@javianwilliams7463 Жыл бұрын
6:54 “There’s ZERO Santas.” (Surprised trombone sound)
@rym36
@rym36 Жыл бұрын
I didn't expect this to be coded in Processing . I knew it was capable but not that capable!+
@RegularFantaTheBest
@RegularFantaTheBest Жыл бұрын
1:23 the echo🤩🤩
@Blyfh
@Blyfh Жыл бұрын
Omg, Cary is a Hazbin fan?! 8:22
@quinn7894
@quinn7894 Жыл бұрын
Clicked for the Yoshi, stayed for the graph theory.
@magfilms676
@magfilms676 Жыл бұрын
"n Santas and n dinosaurs can cross iff we have n-2 rafts" ...that would imply 2 Santas and 2 dinosaurs can cross without any raft at all
@magfilms676
@magfilms676 Жыл бұрын
or 1 Santa and 1 dinosaur can cross not only without any rafts, but with a tfar (negative raft)
@bryceneverknew
@bryceneverknew Жыл бұрын
Easy solution. Get trees from the forest (on fire so be careful!) and build a second raft. 2 rafts that can carry 3 people. 2 X 3 is 6 so everyone goes free!
@hoppingiconcentral826
@hoppingiconcentral826 Жыл бұрын
1:31 Cary accidentally said Yoshi
@gyroelongatedpentagonalbip728
@gyroelongatedpentagonalbip728 Жыл бұрын
Teacher: please concrentrate during the test Me trying to figure out how to get Dinosaurs and Santas on the other side of the lake
@Aelfraed26
@Aelfraed26 Жыл бұрын
900 IQ way to tackle the problem
@Indonesia_bks
@Indonesia_bks 10 ай бұрын
0:39 Firey's Underware
@corncobthingy
@corncobthingy 11 ай бұрын
1:30 as a fellow yoshi im glad he showed us some respect
@MightyElemental
@MightyElemental Жыл бұрын
Never seen this version of the puzzle before. Think the only one I heard of was about a fox, a chicken, and some grain 🤔
@CaedmonOS
@CaedmonOS Жыл бұрын
You just had to throw in the brief has Hazben Hotel referencesI love it
@LemonSoundLogos
@LemonSoundLogos Жыл бұрын
0:41 cary reveals the actual reason why i stopped using cyshi
@user255
@user255 Жыл бұрын
I'm quite sure that, if Santas out number the dinosaurs, they will f up the dinosaurs for what they are. They are old and wise men.
@j100j
@j100j Жыл бұрын
I was playing with nice sounding chord progressions and I went to hooktheory to find if mine was already used. I proceeded to get distracted and I went to see what is the most common chord progression in A minor. I then found your more lasers and thought to myself that your profile picture was familiar. It seems I have seen some of your videos before and now I am here.
@ZyperPL
@ZyperPL Жыл бұрын
Hey! These are three YOSHIS! Not dinosaurs!
@linkharris4472
@linkharris4472 Ай бұрын
Totally true
@ristopoho824
@ristopoho824 Жыл бұрын
The puzzle i heard of as a kid had a farmer, fox, chicken and a bag of corn. For some reason he wants to take the fox with him. And no it's not a pet trained fox it does want to eat the chicken. And oh boy the chicken eats fast so not leaving it with the corn. Also. The farmer needs to be on every trip, the fox is also not trained to control the raft.
@ben9583_
@ben9583_ Жыл бұрын
Graph theory gets a bad rap; this approach feels a lot more "right" than the guess-and-check method of searching. Also haha love the allegory
@tanvach
@tanvach Жыл бұрын
Love the video, nice use of visualization!
@nell076
@nell076 Жыл бұрын
your videos are always so cool i don't know what else to say
@JoshuaDZ
@JoshuaDZ Жыл бұрын
This is such a good way to visualize
@PearangeProductions
@PearangeProductions Жыл бұрын
So this is what you've been doing since the Marker and Coiny plush vid... Jeez louise, Cary, the term "jack of all trades" barely scratches the SURFACE of your abilites. You can animate, voice act, program, teach...is there anything you CAN'T do?!
@Celment
@Celment Жыл бұрын
i really love the “comin to getcha moves”
@user-id2nr1zp1u
@user-id2nr1zp1u Жыл бұрын
I wonder what the state space will look like if the raft can contain three creature? My guess is it'll be very cluttered lol Also if we generalize the puzzle to include more types of creature that devour each other in a rock-paper-scissor like fashion does that mean we have to use a four dimensional graph? (which defeats the purpose of visualization but still) I have thought about this puzzle before but never increase the number of rafts. What a nice potential puzzle spaces you've explored, and it fits with the visualization very well as well!
@derekalejandrocontresasmoc4710
@derekalejandrocontresasmoc4710 Жыл бұрын
Carykh, million people are going to boycotts all AIs contents including yours
@LUVVEOUS
@LUVVEOUS Жыл бұрын
I like this MetaPerspective solving
@soapycanthandle
@soapycanthandle Жыл бұрын
Noo!!! Now no one will have Christmas presents!
@ArtimisArcher
@ArtimisArcher Жыл бұрын
The Yoshi’s Are Looking for a Meal Let’s Protect the Santa’s While Also Saving the Yoshis
@Lebensgott
@Lebensgott Жыл бұрын
I love the visualization
@11Argetlam11
@11Argetlam11 Жыл бұрын
How did you create the visualisation? It's it just animation or did you use some useful tool to play around and try out?
@bombintheseeinq
@bombintheseeinq Жыл бұрын
he used processing. looked it up and it's a java library.
@wyattskinner697
@wyattskinner697 Жыл бұрын
Build a stronger raft. If there’s a forest fire then there is wood which means you can build new rafts or improve the raft.
@prestoncole1645
@prestoncole1645 Жыл бұрын
I’m happy Yoshi’s In this :D. Also Cool Puzzle!
Automatic on-the-fly video editing tool!
14:39
carykh
Рет қаралды 740 М.
How To Catch A Cheater With Math
22:38
Primer
Рет қаралды 5 МЛН
Секрет фокусника! #shorts
00:15
Роман Magic
Рет қаралды 118 МЛН
The Joker wanted to stand at the front, but unexpectedly was beaten up by Officer Rabbit
00:12
💩Поу и Поулина ☠️МОЧАТ 😖Хмурых Тварей?!
00:34
Ной Анимация
Рет қаралды 1,6 МЛН
Je peux le faire
00:13
Daniil le Russe
Рет қаралды 22 МЛН
Computer tries to replicate my voice!
15:41
carykh
Рет қаралды 1,8 МЛН
Monte Carlo Simulation
10:06
MarbleScience
Рет қаралды 1,4 МЛН
EWOW 6B results but it's 1b1s
11:42
la rivbi
Рет қаралды 3,1 М.
Can I Solve 8 Deadly Puzzles?
16:59
Boosfer
Рет қаралды 575 М.
Computer evolves to generate baroque music!
18:13
carykh
Рет қаралды 2,4 МЛН
The math behind Baby Shark's viewcount #SoME2
10:32
carykh
Рет қаралды 372 М.
A tale of two problem solvers (Average cube shadows)
40:06
3Blue1Brown
Рет қаралды 2,7 МЛН
How Binary Works, and the Power of Abstraction
15:17
Josh's Channel
Рет қаралды 302 М.
Evolution Simulator creatures learn to steer
1:02:11
carykh
Рет қаралды 871 М.
Секрет фокусника! #shorts
00:15
Роман Magic
Рет қаралды 118 МЛН