mirror of
https://github.com/yangshun/tech-interview-handbook.git
synced 2025-07-25 11:12:25 +08:00
11 lines
524 B
Markdown
11 lines
524 B
Markdown
---
|
|
id: oop
|
|
title: Object-Oriented Programming
|
|
---
|
|
|
|
- How would you design a chess game? What classes and objects would you use? What methods would they have?
|
|
- How would you design the data structures for a book keeping system for a library?
|
|
- Explain how you would design a HTTP server? Give examples of classes, methods, and interfaces. What are the challenges here?
|
|
- Discuss algorithms and data structures for a garbage collector?
|
|
- How would you implement an HR system to keep track of employee salaries and benefits?
|