6/38
Part 2 of 7 · RecursionLearn

The calls go deep first, and each answer is built on the way back up

The order the calls run in gives depth-first search its name.

Predict

size("Portugal") calls size("Lisbon District") first. Which call is the first to return?

Pick an answer above to see the rest