面向对象设计
考核关键是如何设计class,class的properties和methods定义好,掌握class的继承
1. 面试过程
clarification: 先理清
业务流程根据流程图,找到
core object,明确use case完善整体设计
class diagram,写出class和重点method
2. 案例
drink sale system
amazon locker
酒店预订
vending machine
中国象棋
操作系统内存管理分页分段的API
3. 参考
Grokking the Object Oriented Design Interview
https://github.com/ycwkatie/OOD-Object-Oriented-Design
https://github.com/rajat19/system-design
http://www.cs.sjsu.edu/~pearce/modules/lectures/ooa2/ood/index.htm
https://medium.com/javarevisited/top-10-object-oriented-analysis-and-design-interview-questions-and-problems-for-experienced-6c3a53b7cb26
https://github.com/nikhilagrwl07/System-Design/tree/master/src/main/java
https://github.com/ycwkatie/OOD-Object-Oriented-Design
https://rajat19.github.io/system-design/category/system-designs.html
https://leetcode.com/playground/ay5RFRWQ
Last updated