next
Round
Technologies
Coding Problems
Bookmarks
Learning Paths
Login
next
Round
Technologies
Coding Problems
Bookmarks
Learning Paths
Login
1
Design a simple Logger class. Should it be Static, Singleton, or injected via Interface? Justify.
Advanced
2
How would you design a system for a Car that has different engine types (Petrol, Diesel, Electric)? Show the OOP model.
Intermediate
3
How would you model a Bird class? What issues arise when you try to add a Penguin or Ostrich? (LSP violation)
Advanced
4
You have a class that validates user input. The validation rules change frequently. Which pattern would you use and why?
Advanced
5
How do you design an Undo/Redo functionality? (Command Pattern)
Advanced
6
How would you design a Plugin Architecture?
Advanced
7
How do you handle Cross-Cutting Concerns (Logging, Caching, Authentication) without polluting business logic? (AOP/Proxy/Decorator)
Advanced
8
You need to cache data. Some data expires in 1 minute, some in 1 hour. How do you design this using OOP?
Intermediate
9
How would you design a Payment Gateway integration that supports multiple providers (PayPal, Stripe)?
Advanced
10
What is the Anemic Domain Model? Why is it considered an anti-pattern by many?
Advanced
11
What is Domain-Driven Design (DDD) in a nutshell? How does it relate to OOP?
Advanced
All Topics
1
Foundations
0/2 topics · 0%
Basics
Inheritance and Composition
2
Linear structures
0/4 topics · 0%
Polymorphism
Interfaces and Abstract Classes
Access Modifiers and Scope
Advanced Concepts and Design Principles
3
Memory and Object Lifecycle
0/2 topics · 0%
Trees
Real-World Design and Architecture Scenarios
Share
this topic
Share via WhatsApp, X, Facebook, LinkedIn or copy link. Open Graph preview enabled.