JetBrains interview question

On-call: Simple DFS-like algorithms; Test task: Design/implement filesystem API.