← Back to companies
[ OK ] Loaded —
[ INFO ]
$ cd
$ ls -lt
01
02
03
04
05
$ ls -lt
01
02
03
04
05
user@intervues:~/$
Implement a file crawler that can traverse directories and handle long-running file processing asynchronously.
Part 1 - Basic File Listing:
Given a file path, return all files under that path. A helper function list_dir(path) is provided.
Part 2 - Scaling Discussion (No Code): Discuss how to scale for very large directory trees.
Part 3 - Async Processing: Implement an async job system where each file takes a long time to process.
Requirements:
Constraints: