在某地方看見一道amazon OOD,design Linux Find?
有人見或知道大概思路嗎?
参考
具体还得看要求啥
1 个赞
在亚麻西雅图onsite面了这道
implemnet linux find command as an api ,the api willl support finding files that has given size requirements and a file with a certain format like
- find all file >5mb
- find all xml
Assume file class
{
get name()
directorylistfile()
getFile()
create a library flexible that is flexible
Design clases,interfaces.