Topic

Oop

Learn Oop as a connected topic across chapters, concepts, simulations, and interview reasoning.

10 Concepts20 Articles6h 56m

Overview

Learn Oop as a connected topic across chapters, concepts, simulations, and interview reasoning.

How this topic helps

Python
Ai Agents
Java
Llm

Learning Path in this Topic

Series that contain articles from Oop. Select a path to filter the article list.

Articles

20 matched articles

Article 1Python OOP: Classes, Dataclasses, and Dunder MethodsšŸ“– Why Every Java Developer Writes Un-Pythonic Classes on Day One Imagine a developer — let's call him Daniel — who has written Java for six years. He sits down to write his first Python class and pro22 minArticle 2LLD for Tic-Tac-Toe: Designing an Extensible OOP GameTLDR: Tic-Tac-Toe looks trivial — until the interviewer says "make it NƗN with P players and pluggable winning rules." The key design decisions: a Board abstracted from piece identity, a Strategy Patt20 minArticle 3LLD for LRU Cache: Designing a High-Performance CacheTLDR TLDR: An LRU (Least Recently Used) Cache evicts the item that hasn't been accessed the longest when it's full. The classic implementation combines a HashMap (O(1) lookup) with a Doubly Linked Li25 minArticle 4LLD for Elevator System: Designing a Smart LiftTLDR TLDR: An elevator system is a textbook OOP design exercise: ElevatorCar encapsulates its stop queue, ElevatorState polymorphically handles direction changes (State Pattern), and DispatchStrategy22 minArticle 5Implement LLD for Parking Lot: Code WalkthroughTLDR: This is the code companion to the Parking Lot System Design post. We implement the core classes (ParkingLot, ParkingSpot, Ticket) in Java, apply the Singleton, Factory, and Strategy patterns, an29 minArticle 6Async Python: asyncio, Coroutines, and Event Loops Without the ConfusionšŸ“– The 500-Second Problem: What Cooperative Multitasking Actually Fixes Suppose your monitoring pipeline checks the health endpoint of 1,000 internal microservices. Each HTTP call takes about 500 mill27 min

Page 1 of 4