How can I create and print maze of arbitrary length and breadth with one valid path through it? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 2

How can I create and print maze of arbitrary length and breadth with one valid path through it?

I want to know the algorithm.Other helps are also ok

27th Dec 2016, 11:51 AM
Jawwad Hossain
Jawwad Hossain - avatar
2 Answers
0
I'd say you look for maze generator algorithms on the web, I've looked at the entry at wikipedia with the same name and it's pretty well explained and documented, although the details underlying the programming are left for the dev to figure out by themselves.
29th Dec 2016, 6:06 AM
Alejandro Aristizabal
Alejandro Aristizabal - avatar
0
thanks for advices
29th Dec 2016, 6:19 AM
Jawwad Hossain
Jawwad Hossain - avatar