Tutorial :Tree traversal algorithm for directory structures with a lot of files

Question: When recursively traversing through a directory structure, what is the most efficient algorithm to use if you have more file...