Search
Lessons (40)
- Storage, Search and Location Queries
Use the right data system for files, text search and nearby-place queries instead of forcing every need …
- Binary Search
… search on a condition Binary search works on anything where a yes/no question flips exactly once : text …
- Embeddings, Semantic Search, and RAG
… Combine vector search with keyword search or metadata filters when they improve the task. A practical RAG pipeline …
- Trees & Binary Search Trees
… Learn the vocabulary, the four traversals, and how binary search trees give fast lookups. The big idea A …
- Design a Logging and Monitoring Platform
Ingest high-volume telemetry reliably, separate hot search from cheap retention, and make alerting useful rather than noisy …
- State Management (Redux, Zustand, TanStack Query)
… often forgotten Filters, search terms, pagination and tabs belong in the URL : they survive a refresh, can be …
- DSA Interview Patterns Cheat Sheet
… 4. Optimise: "The bottleneck is the inner search… a hash map makes that O(1)." Name the pattern …
- Design a Ride-Sharing Service
… Both see Driver D because the geo index is only a search index. The assignment service must atomically …
- Developer Learning Plan and Document-Assistant Capstone
… Save it as document search.py and run python3 document search.py . python import re documents = [ {"id": "deploy …
- Stacks & Queues
… vs Queue in search The only difference between depth-first and breadth-first search is the container: mermaid …
- Data Structures for Scale
… Use geohash or spatial trees to narrow location candidates, search neighboring cells, then compute exact distance. 2. Use …
- Kafka vs RabbitMQ & the Kafka Ecosystem
… the easiest way to implement the outbox pattern or to stream database changes to search indexes and warehouses …
- What Is Artificial Intelligence? A Developer's Guide
… AI includes both learned models and techniques such as symbolic rules and search. It does not imply human …
- What Is Apache Kafka?
… everything talks to everything"] A1[Web app] -- D1[(DB)] & S1[Search] & AN1[Analytics] & M1[Monitoring] A2[Mobile API …
- Graphs: BFS & DFS
… Learn how to store a graph and explore it with breadth-first and depth-first search. The big …
- Big-O Notation Made Simple
… That's why binary search is so fast. The 4 rules for calculating Big-O 1. Drop constants …
- Observability: Logs, Metrics & Traces
… hard to search, no context console.log("Payment failed for user 42"); // ✅ Structured (pino): every field is searchable …
- Design an E-Commerce Checkout
… catalog/search are read paths while inventory, payment and order transitions are owned and idempotent](/img/system-design …
- What to Learn in AI, and in What Order
… staged deliverables and a runnable local document-search project. Make small projects that answer a real question: classify …
- Cross-Service Data: How to Join Without a Database JOIN
… Build a dedicated read model For dashboards, search and complex screens, create a read model designed specifically for …
- Meaningful Names
… Make names searchable and pronounceable js // ❌ Try searching for "5" or saying "genymdhms" in a meeting if (status …
- Hash Maps & Sets
… library with a million books, you don't search shelf by shelf. You look up the book in …
- SQL vs NoSQL Databases
… It's relational, rock solid, and it also handles JSON ( jsonb ), full-text search and geospatial data. Add …
- Atomic Design & Component Libraries
… br/ Button, Input, Icon, Text] -- M[Molecules<br/ Search field, Form field] M -- O[Organisms<br/ Header, Checkout …
- AI Agents and Tool Use
… A “search orders” tool is safer than arbitrary database access; a “draft refund” action is safer than an …
- React Hooks in Practice
… a box that doesn't trigger renders jsx function SearchBox() { const inputRef = useRef(null); // 1. reference a DOM …
- Next.js Rendering: CSR, SSR, SSG, ISR & Server Components
… a static marketing homepage, ISR product pages, an SSR search page and a client-heavy dashboard. Key takeaways …
- CloudWatch: Know What Your App Is Doing
… Check dashboard metrics for time and scope. 3. Search logs using the request ID or error. 4. Check …
- Design a Polite Web Crawler
… normalize, deduplicate and schedule per host. The problem in context A search product wants to crawl 100 million …
- Database Internals, Replication and Scaling
… relational, document, key-value, wide-column, graph, time-series, search and vector stores solve different queries. Diagnose before …
- Capacity, Availability, Latency and CAP
… an older value Availability is more valuable. Product search Show a slightly old index Checkout will verify later …
- Multi-Region and Disaster Recovery
… payments. Restaurant menus Serve regional cache; refresh later. Search/recommendations Degrade or use stale replica. Images Multi-region …
- Cluster Networking, DNS and NetworkPolicies
… with fewer than 5 dots are tried against search domains first. External lookups such as api.stripe.com …
- Observability and Incident Response
… structured, searchable events with no secrets or unnecessary private data. - Runbooks: owner, safe mitigation, rollback, verification and escalation …
- DRY: Don't Repeat Yourself
… Rule of Three before extracting. Try it yourself Search your project for a number like 0.2 , 100 …
- Comments & Formatting
… formatting with Prettier and ESLint. Try it yourself Search your project for // . For each comment ask: Could a …
- Two Pointers & Sliding Window
… Learn them with animated-style diagrams and classic interview examples. Two Pointers The big idea Two people searching …
- Arrays & Strings
… 0, x) O(n) Items after i shift Search (unsorted) arr.includes(x) O(n) Check lockers one …
- Recursion & Backtracking
… permutations, combination sum, N-Queens, Sudoku solver, word search in a grid, generating valid parentheses. Key takeaways - Recursion …
- Serverless Architecture
… confirmation"] -- SES["📧 SES"] DDB -- stream L3["λ update search"] -- OS[(OpenSearch)] Limits and trade-offs Limitation Typical value …