// TOPIC

#search

12 articles

◆◆◆AdvancedMicrosoftNeo4j
01

Design a GraphRAG System (Knowledge-Graph-Augmented Retrieval)

When vector RAG fails on multi-hop and corpus-wide questions, build a GraphRAG knowledge graph: entity extraction, Leiden communities, map-reduce global search.

#interview#ai#rag
29 min
◆◆◆AdvancedUberAirbnb
02

Design a Feature Store

Serve identical feature values to model training and online inference, eliminating training-serving skew at sub-10ms latency and millions of reads per second.

#interview#ai#mlops
28 min
◆◆◆AdvancedGoogleAWS
03

Design an Intelligent Document Processing Pipeline

Design a pipeline that turns millions of messy PDFs into validated structured JSON: OCR, LLM extraction, confidence routing, and build-vs-buy cost math.

#interview#ai#llm
33 min
◆◆◆AdvancedGitHubCursor
04

Design an AI Coding Assistant (Copilot / Cursor)

Design an AI coding assistant: sub-200ms ghost-text completions plus an autonomous multi-file agent — the two-product architecture behind Copilot and Cursor.

#interview#ai#llm
31 min
◆◆◆AdvancedPineconeGoogle
05

Design a Vector Database / Semantic Search Service

Index 1 billion 768-dimensional vectors and answer top-k similarity queries in under 20 ms — the ANN indexing, sharding, and filtering architecture behind Pinecone, Weaviate, and pgvector.

#interview#ai#vector-db
25 min
◆◆◆AdvancedOpenAIGoogle
06

Design a RAG (Retrieval-Augmented Generation) Pipeline

Design a RAG pipeline that grounds an LLM in 10M documents with sub-2-second, cited answers: ingestion, hybrid retrieval, reranking, generation, and eval.

#interview#ai#rag
30 min
◆◆◆AdvancedElasticSplunk
07

Design a Centralized Log Aggregation System (ELK / Splunk)

Collect, store, and search logs from thousands of services. Collection agents, a buffered ingestion pipeline, time-based inverted indices, hot-warm-cold tiers, and cost control.

#interview#observability#search
29 min
◆◆◆AdvancedElasticAmazon
08

Design a Distributed Search Engine (Elasticsearch)

Index billions of documents and answer full-text queries in milliseconds. Inverted indexes, sharding + replication, scatter-gather, and relevance scoring.

#interview#search#indexing
24 min
◆◆◆AdvancedGoogleMicrosoft
09

Design an Email Service (Gmail)

Send, receive, store, and search email for hundreds of millions of users. SMTP ingestion, sharded mailbox storage, full-text search, and spam filtering.

#interview#storage#search
25 min
◆◆◆AdvancedAirbnbBooking
10

Design a Hotel / Airbnb Booking System

Search available listings and book date ranges without double-booking. Availability as a range problem, reservation holds, and the search vs transaction split.

#interview#inventory#consistency
25 min
◆◆IntermediateGoogleYelp
11

Design Yelp / Nearby Search (proximity service)

Find restaurants/businesses near a location, fast. Geohash, quadtree, hexagonal cells, and the right index for "within 5 km of me".

#interview#geo#search
19 min
◆◆IntermediateGoogleAmazon
12

Design Search Autocomplete (Typeahead)

Sub-100ms autocomplete suggestions across billions of queries — tries, top-k caching, and personalized ranking.

#interview#search#trie
20 min