6 ms·
Because "depth" is recursive. You can search twice without waiting for the results of your first search: iteration. You can't if the thing you need to search
by itishappy 10d ago
Because "depth" is recursive.
You can search twice without waiting for the results of your first search: iteration.
You can't if the thing you need to search for is the results of your first search: recursion.
- HarHarVeryFunny 10d agoHere's the concept. Version 1 -> Version 2 -> Version 3 -> ... You can call it krispy kreme donuts if you want to.