Whenever you're ready, walk me through how you'd approach this.
Low-level/object-oriented design and implementation of a file system.
Asked in the Final loop: LLD/Object Oriented stage.
Define an in-memory file system with directories and files. Explain the class structure, implement path-based creation and lookup, support reading and writing file contents, and discuss validation, extensibility, and test coverage. Keep the implementation practical and explain key design choices as you code.