{"type":"video","version":"1.0","html":"<iframe src=\"https://www.loom.com/embed/45ca36a6bd1a41d8a88c164bf17d5592\" frameborder=\"0\" width=\"1920\" height=\"1440\" webkitallowfullscreen mozallowfullscreen allowfullscreen></iframe>","height":1440,"width":1920,"provider_name":"Loom","provider_url":"https://www.loom.com","thumbnail_height":1440,"thumbnail_width":1920,"thumbnail_url":"https://cdn.loom.com/sessions/thumbnails/45ca36a6bd1a41d8a88c164bf17d5592-5101593d1f53e796.gif","duration":304.171,"title":"Maze Generation with DFS and Cycles 🎯","description":"In this Loom, I show how the list generator builds a maze at slow speed using a DFS approach. When it hits a closed mailbox or dead end, it randomly chooses a direction, tracks dead ends, backtracks using a stack, and continues until it finds the solution. Then I reset and run the bonus question, where I remove 50 percent of the extra wall chance to create loops and multiple ways of solving the maze. You can change the percentage as you like. I also note the bonus toggle uses ToggleByView."}