File System
约 1 分钟· 本文阅读 次
本页目录
File System
Explain the data structures and algorithms that you would use to design an in-memory file system. Illustrate with an example in code where possible.
Solution
Files and Directories. Each Directory contains a set of Files and Directories.
- abstract class Entry
- class File extends Entry
- class Directory extends Entry
具体的操作,根据和面试官的讨论找着写就行了
相关文章
- Add and Search Word Data structure design2016-01-17
- Animal Shelter2016-01-17
- Call Center2016-01-17
- Chat Server2016-01-17
已恢复到上次阅读位置