Search
Lessons (16)
- Sorting Algorithms
From simple bubble sort to merge sort and quick sort. See how each one works, compare their speeds …
- Big-O Notation Made Simple
… best O(1) (it's the first item), worst O(n) (it's last or missing). - Quick sort …
- Linux Command-Line Essentials
… take column 1 (the IP) → sort → count duplicates → sort by count, biggest first → keep the top 10. Searching …
- JavaScript Language Fundamentals
… err }) . Quick check <details <summary What does <code typeof null</code return, and why?</summary "object" . It's …
- Indexes, EXPLAIN & Query Plans
Design indexes from real filter, join and sort patterns, then prove improvements with query plans and production-like …
- Design a Polite Web Crawler
… One small shop's website links to itself with endless variations: ?sort=price , ?sort=price&page=2 , ?color …
- Database Internals, Replication and Scaling
… Two main families: - B-tree: keeps data sorted in place. Great for "find order 55" and "orders from …
- Big Data: ETL, Warehouses and Streaming
… cleaned, duplicates removed, sorted by event time (when it actually happened, not when it arrived; a phone offline …
- Linux Troubleshooting Playbook & Interview Questions
… At each layer, run one quick check. The first layer that fails is where the problem lives. ![Follow …
- CQRS & Event Sourcing
… The kitchen is organised for cooking (making changes); the menu board is organised for customers reading quickly . Nobody …
- DynamoDB Modeling, RDS Scaling and Data Resilience
… Test restores regularly. Choosing quickly Need Pick --- --- Known access patterns, huge scale, low ops DynamoDB Joins, ad-hoc …
- L6 Production Debugging Casebook
… The database still has to find, sort and throw away about 100,000 rows before giving you the …
- Design a Logging and Monitoring Platform
… Keep an audit trail of who accessed what. Quick recap - 🚫 Never block the app: batch, buffer with a …
- Design a Social Media Feed
… drop blocked, private and deleted posts. 6. Rank : sort by your ranking rules (ranking is a separate step …
- 500 Users Upload Documents at Once: Design the Background Job Pipeline
… Accept quickly, record durably, process idempotently, and push back when you're full. Then prove it with 500 …
- Collaborative Document Editing & Real-Time Sync
… live together, sorted by rev , so "give me everything after rev 9031" is one quick read. Comment anchors …