JetBrains Interview Question

Write simple API for file system