You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
---
|
|
|
|
id: oop
|
|
|
|
title: Object-oriented programming
|
|
|
|
toc_max_heading_level: 2
|
|
|
|
---
|
|
|
|
|
|
|
|
## Sample questions
|
|
|
|
|
|
|
|
- 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?
|
|
|
|
- How would you implement an Elevator system?
|
|
|
|
- How would you implement a Parking Lot system?
|
|
|
|
|
|
|
|
## Recommended courses
|
|
|
|
|
|
|
|
- [Grokking the Object Oriented Design Interview](https://designgurus.org/link/kJSIoU?url=https%3A%2F%2Fdesigngurus.org%2Fcourse%3Fcourseid%3Dgrokking-the-object-oriented-design-interview)
|