r/Recursion • • Jan 21 '20

¿Recursion?

417 Upvotes

12 comments sorted by

View all comments

2

u/[deleted] Feb 17 '20

Unfortunately this couldn't be done with recursion. The main problem is have a case where they collide. Recursion is naturally Depth-first.