मुफ़्त पूरी गाइड
11 प्रश्न अभी पढ़ें, अकाउंट की ज़रूरत नहीं।
प्रश्नकंपनी संकेतअवधारणाएंपहुंच
- 01विज्ञापन क्लिक एग्रीगेटरविज्ञापन क्लिक एग्रीगेटर डिज़ाइन करें। इसमें High-throughput ingestion of K-M clicks/sec via a log/stream (Kafka) before aggregation, Exactly-once vs at-least-once delivery and idempotent aggregation...MetaStreaming Windowed AggregationIdempotency Key+1मुफ़्त गाइड
- 02फाइल सिंक सिस्टमफाइल सिंक सिस्टम डिज़ाइन करें। इसमें File chunking strategy and content-hash based deduplication across users, Delta sync: rsync-style block diffing instead of re-uploading whole files, Metadata...DropboxChunked Transfer + Content-Hash DedupConflict-Free Collaboration (OT/CRDT)+1मुफ़्त गाइड
- 03मैसेजिंग सिस्टममैसेजिंग सिस्टम डिज़ाइन करें। इसमें WebSocket connection management at scale: a connection registry mapping user/device to the gateway instance holding their socket, Message delivery semantics:...MetaPersistent Connection ManagementPub/Sub Fan-out+1मुफ़्त गाइड
- 04टिकटिंग सिस्टमटिकटिंग सिस्टम डिज़ाइन करें। इसमें Seat inventory model and seat-map representation for a venue/event, including seat status transitions, Reservation hold with TTL: reserve then confirm two-phase...TicketmasterReservation Hold with TTLVirtual Queue / Admission Control+2मुफ़्त गाइड
- 05TinderTinder डिज़ाइन करें। इसमें Swipe ingestion as a high-volume, append-only event write path (like/pass events) decoupled from match detection, Match detection: checking whether A likes B AND B likes A,...—Geospatial IndexingProbabilistic Data Structures+1मुफ़्त गाइड
- 06Top K Songs (Spotify)Top K Songs (Spotify) डिज़ाइन करें। इसमें Framing top-K as a heavy-hitters/frequency-estimation problem over a play-count stream, Count-Min Sketch + heap (bounded error, memory trade-off) vs exact...Spotify / MetaStreaming Windowed AggregationProbabilistic Data Structures+2मुफ़्त गाइड
- 07Uber (Ride Hailing)Uber (Ride Hailing) डिज़ाइन करें। इसमें Geospatial indexing trade-off: geohash vs quadtree vs S2/H3 cells for storing and querying driver locations, High-frequency driver location ingestion: update...UberGeospatial IndexingOptimistic Concurrency Control+1मुफ़्त गाइड
- 08वेब क्रॉलरवेब क्रॉलर डिज़ाइन करें। इसमें URL frontier design: priority queues for scheduling and re-crawl ordering, Politeness: robots.txt compliance and per-domain rate limiting to avoid hammering one host,...GoogleProbabilistic Data StructuresAsync Job Queue+2मुफ़्त गाइड
- 09लघु लिंक सेवा10 करोड़ daily active users के लिए एक scalable URL shortener डिज़ाइन करें। redirects, custom aliases, analytics, caching, और consistency trade-offs को कवर करें।InstagramCache-Aside and Stampede ControlSharding and Hot-Key Mitigationमुफ़्त गाइड
- 10LLM inference gatewayएक LLM inference gateway design कीजिए जो internal product teams और कई model providers/backends के बीच बैठता है, और company scale पर routing, streaming, quotas तथा safety controls संभालता है।OpenAI / AnthropicMulti-Provider Routing / FailoverVirtual Queue / Admission Control+2मुफ़्त गाइड
- 11AI customer support agentकिसी SaaS product के लिए एक AI customer support agent design कीजिए। इसमें intent routing, knowledge retrieval, account-safe tool actions, conversation memory, confidence-आधारित human escalation,...—Agentic Tool-Calling LoopRAG Grounding and Citation+2मुफ़्त गाइड
प्रीमियम प्रश्न
59 प्रॉम्प्ट ऐप लाइब्रेरी खोलने से पहले देखें।
प्रश्नकंपनी संकेतअवधारणाएंपहुंच
- 12AI एजेंट सिस्टमएक production AI agent application platform डिज़ाइन करें जो user goals स्वीकार करे, context और memory संभाले, tools को सुरक्षित रूप से call करे, ज़रूरत पड़ने पर human review के लिए रुके, और traces व...—Agentic Tool-Calling LoopHuman-in-the-Loop Review+1प्रीव्यू
- 13Auction (eBay)एक eBay-शैली का auction सिस्टम डिज़ाइन करें — bidders live listings पर होड़ लगाते हैं और closing के समय भारी contention रहती है, तथा सिस्टम को कभी किसी हारती bid को winner नहीं मानना चाहिए, न ही किसी...eBayOptimistic Concurrency ControlState Machine + Idempotent Transitions+1प्रीव्यू
- 14चैट ऐपWhatsApp जैसे mobile messenger का client-side architecture design करें — connection handling, message state, offline storage और encryption, सबको एक अस्थिर mobile network में टिकना है।DiscordPersistent Connection ManagementState Machine + Idempotent Transitions+1प्रीव्यू
- 15Chat Serviceकरोड़ों concurrent users के लिए एक chat product के पीछे का backend infrastructure design करें — stateful connection servers, message storage, और group fan-out। ध्यान infrastructure पर रहे: connection...DiscordPersistent Connection ManagementPub/Sub Fan-out+1प्रीव्यू
- 16Collaborative Shoppingएक ऐसा collaborative shopping अनुभव design करें जहाँ कई लोग real time में एक ही cart साझा करते हैं, एक साथ items जोड़ते और हटाते हैं, और एक नामित participant पूरे group की ओर से checkout करता है।—Conflict-Free Collaboration (OT/CRDT)Reservation Hold with TTL+2प्रीव्यू
- 17Coupons and Deals Platformएक coupons and deals platform design करें जहाँ users deals की एक बड़ी, अक्सर बदलती catalog को browse और search करते हैं, और हर limit में coupon code ठीक एक बार redeem करते हैं, बिना कभी stale prices...—Cache-Aside and Stampede ControlIdempotency Key+1प्रीव्यू
- 18Donation PlatformGoFundMe जैसा एक donation platform डिज़ाइन करें — कोई campaign रातोंरात viral हो सकता है और छोटे-छोटे दान का भारी spike आ सकता है, और हर एक डॉलर capture होना चाहिए, refundable होना चाहिए, और एक सटीक...—Virtual Queue / Admission ControlAsync Job Queue+1प्रीव्यू
- 19Facebook Post Searchएक social feed पर search डिज़ाइन करें — users को keyword से posts लगभग real time में ढूँढने दें, साथ ही हर post की privacy/visibility settings का सम्मान करते हुए।MetaInverted Index SearchAccess Control Filtering (ACL)+1प्रीव्यू
- 20Flash Saleएक flash sale सिस्टम डिज़ाइन करें जहाँ किसी hot item की सीमित मात्रा एक निश्चित क्षण पर बिक्री के लिए आती है और कुछ ही सेकंड में 1000x traffic spike झेलती है — inventory कभी oversell नहीं होनी चाहिए,...—Atomic Counter InventoryVirtual Queue / Admission Control+2प्रीव्यू
- 21Flight Booking Systemएक flight booking system डिज़ाइन करें जो travelers को कई airlines के आर-पार multi-leg itineraries search और book करने दे — हर fare-class का seat inventory reserve करते हुए और tickets issue करते हुए,...DuffelReservation Hold with TTLSaga / Compensating Transaction+1प्रीव्यू
- 22गेम लीडरबोर्डलाखों खिलाड़ियों को उनके score के हिसाब से real-time में rank करने वाला एक game leaderboard design करें — जो regional और time-windowed boards को support करे, और top-N तथा किसी भी player की rank दोनों...StravaTop-K RankingSharding and Hot-Key Mitigation+1प्रीव्यू
- 23सहयोगी दस्तावेज़ संपादकसहयोगी दस्तावेज़ संपादक की real-time collaborative editing डिज़ाइन करें — कई users एक ही document में एक साथ typing करें और एक-दूसरे के edits को सही ढंग से converge होते देखें।GoogleConflict-Free Collaboration (OT/CRDT)Persistent Connection Management+1प्रीव्यू
- 24क्लाउड ड्राइवक्लाउड ड्राइव को एक permissioned file platform की तरह design करें — folder hierarchy, shared drives, और ऐसा access control जो अरबों files और third-party integrations तक scale करे।GoogleAccess Control Filtering (ACL)Metadata/Data Separation+1प्रीव्यू
- 25Hotel Reservation (Booking.com)Booking.com design करें — एक hotel marketplace जो हज़ारों स्वतंत्र supplier hotels से live availability और pricing aggregate करता है, जहाँ search results तेज़ रहने चाहिए भले ही underlying inventory न...Booking.comMulti-Provider Routing / FailoverCache-Aside and Stampede Control+2प्रीव्यू
- 26होटल आरक्षण सिस्टमएक single-chain होटल के लिए reservation engine डिज़ाइन करें — यात्री कई properties में date-range availability खोजते हैं, एक hold लगाते हैं, और booking confirm करते हैं, और किसी भी room type पर chain...—Reservation Hold with TTLState Machine + Idempotent Transitionsप्रीव्यू
- 27Job Schedulerएक distributed job scheduler (cron-as-a-service system) डिज़ाइन करें जो tenants को recurring और one-off jobs register करने देता है, गारंटी देता है कि हर job अपने scheduled समय के करीब fire हो, और...AirbnbResource Scheduling and PreemptionDistributed Lock / Lease Fencing+1प्रीव्यू
- 28Metric Monitoring and Alertingएक monitoring platform के पीछे की metrics pipeline डिज़ाइन करें — हज़ारों hosts पर चल रहे SDK से numeric measurements निकलने से लेकर, streaming pre-aggregation से होते हुए, एक durable time-series...UberStreaming Windowed AggregationSharding and Hot-Key Mitigation+1प्रीव्यू
- 29Moderation Serviceएक content moderation pipeline डिज़ाइन करें जो user के भेजे posts/media को policy उल्लंघनों के लिए screen करती है, platform scale पर posting latency और review accuracy के बीच संतुलन बनाते हुए।LinkedInHuman-in-the-Loop ReviewAsync Job Queue+1प्रीव्यू
- 30Monitoring and Alertingकिसी monitoring platform की alerting और observability layer डिज़ाइन करें — वह सिस्टम जो आने वाले signals पर rules evaluate करता है, तय करता है कि किसे page किया जाए, और incident के दौरान on-call...—Streaming Windowed AggregationNotification Delivery and Routingप्रीव्यू
- 31NetflixNetflix का video delivery system डिज़ाइन करें — एक licensed, curated catalog को दुनिया भर के करोड़ों concurrent viewers तक न्यूनतम buffering और एकसमान quality के साथ stream करें।—Edge Caching / CDNMulti-Provider Routing / Failover+1प्रीव्यू
- 32भुगतान सिस्टमएक e-commerce प्रोडक्ट के लिए payment system डिज़ाइन करें — पैसा buyer, platform और seller के बीच सही तरीके से move होना चाहिए, भले ही transaction के बीच में network fail हो जाए, और बाद में हर एक...StripeDouble-Entry LedgerIdempotency Key+2प्रीव्यू
- 33सिफारिश सिस्टमfeed/video/ads के लिए एक बड़े पैमाने का personalized recommendation system डिज़ाइन करें। candidate retrieval, ranking, sequence features, cold start, experiments, model health, safety, और business...Netflix / MetaMulti-Stage Ranking FunnelTwo-Tower Retrieval+2प्रीव्यू
- 34Restaurant Reservationएक OpenTable जैसा restaurant reservation system डिज़ाइन करें जहाँ diners किसी restaurant में एक time slot और party size बुक करते हैं, restaurants table assignment को optimize करते हैं, और no-shows को...YelpReservation Hold with TTLNotification Delivery and Routingप्रीव्यू
- 35Robinhood (Stock Trading)Robinhood जैसा एक retail stock trading platform डिज़ाइन कीजिए जो लाखों users को buy/sell orders लगाने दे, cash और positions को regulatory-grade सटीकता से track करे, और live quotes stream करे — और...RobinhoodDouble-Entry LedgerState Machine + Idempotent Transitions+2प्रीव्यू
- 36Search Bar Autocompleteकिसी search bar के पीछे का autocomplete/typeahead system डिज़ाइन कीजिए जो एक बड़े search engine के पैमाने पर, 50ms से कम के budget के भीतर, किसी partial prefix के लिए top-K query suggestions लौटाए।MetaPrecomputed Read ViewTop-K Ranking+2प्रीव्यू
- 37Spend Management SystemBrex या Ramp जैसा एक corporate spend management platform design करें — हर card swipe को दो सेकंड के अंदर एक live policy engine के खिलाफ authorize या decline होना चाहिए, और हर transaction accounting...BrexReal-Time Rules/Policy EngineReconciliation / Background Repair+2प्रीव्यू
- 38भुगतान API प्लेटफॉर्मभुगतान API प्लेटफॉर्म को खुद design करें — एक payments platform जिस पर दूसरी companies अपने product बनाती हैं, जो हज़ारों merchants को charge/webhook APIs देती है और साथ ही transactions को कई...StripeDouble-Entry LedgerIdempotency Key+2प्रीव्यू
- 39Technical Deep Diveकिसी ऐसे सिस्टम का technical deep dive पेश करें जिसे आपने खुद बनाया है — यह वही format है जो senior/staff interview loops में इस्तेमाल होता है, जहाँ आप एक project को शुरू से आखिर तक narrate करते हैं...—Latency Budget DecompositionCapacity Estimation and Scale Sizingप्रीव्यू
- 40Ticketmaster (General Admission)general admission वाले events के लिए Ticketmaster design करें — कोई seat map नहीं है, हर ticket tier के लिए बस एक fixed capacity count है, और system को उस भीषण flash-sale contention में सही-सही...TicketmasterAtomic Counter InventoryVirtual Queue / Admission Control+1प्रीव्यू
- 41TikTokTikTok के For You feed को डिज़ाइन करें — हर user के लिए एक अंतहीन short-video feed को rank और serve करें, personalized, बिना इस पर निर्भर हुए कि वह किसे follow करता है।ByteDanceMulti-Stage Ranking FunnelPrecomputed Read View+1प्रीव्यू
- 42Webhookएक webhook delivery platform (Stripe-webhooks जैसा) डिज़ाइन करें जो retry, ordering और security की बाधाओं के तहत हज़ारों third-party consumer endpoints तक event notifications विश्वसनीय रूप से पहुँचाए।StripeIdempotency KeyRetry with Backoff + Dead-Letter+1प्रीव्यू
- 43YelpYelp डिज़ाइन करें — एक local business search और review platform जो आस-पास के, filter किए जा सकने वाले business results को relevance और rating के हिसाब से rank करके लौटाता है।—Geospatial IndexingCache-Aside and Stampede Control+1प्रीव्यू
- 44वीडियो प्लेटफॉर्मवीडियो प्लेटफॉर्म का upload और processing pipeline डिज़ाइन करें — user-generated videos की भारी मात्रा में uploads स्वीकार करें और उन्हें एक playable, multi-resolution catalog में बदलें।YouTubeChunked Transfer + Content-Hash DedupAsync Job Queue+2प्रीव्यू
- 45RAG ज्ञान सहायकएक enterprise RAG knowledge assistant डिज़ाइन करें जो internal documents (wikis, tickets, contracts) पर कर्मचारियों के सवालों के जवाब दे — grounded, cited जवाब — और साथ ही हर document के access...OpenAIRAG Grounding and CitationANN Vector Index+2प्रीव्यू
- 46AI training clusterकई टीमों द्वारा साझा किए गए एक बड़े GPU/TPU training cluster के लिए scheduler डिज़ाइन करें, जहाँ टीमें distributed training jobs चला रही हैं; इसे gang scheduling (पूरे समूह को एक साथ schedule करना),...MetaResource Scheduling and PreemptionRate Limiting / Quotaप्रीव्यू
- 47MCP tool gatewayएक MCP-शैली का tool gateway डिज़ाइन करें जो AI agents को enterprise tools (CRM writes, ticketing, internal APIs) को सुरक्षित रूप से discover और invoke करने दे — per-user authorization और auditability...AnthropicAgentic Tool-Calling LoopAccess Control Filtering (ACL)+2प्रीव्यू
- 48विज्ञापन रैंकिंग मूल्यांकन फ्रेमवर्कएक ad ranking system के लिए evaluation framework डिज़ाइन कीजिए। इसमें offline और online evaluation, A/B testing और experiment interference, counterfactual और interleaving तरीके, guardrail metrics,...MetaOffline/Online Evaluation and A/B TestingBias Correction (Position/Counterfactual)प्रीव्यू
- 49दर सीमा नियंत्रकएक public API platform के लिए distributed API rate limiter डिज़ाइन कीजिए। token bucket, per-user limits, shared counters, hot keys और failure modes को कवर कीजिए।CloudflareRate Limiting / QuotaSharding and Hot-Key Mitigationप्रीव्यू
- 50Notification Systemएक multi-channel notification system डिज़ाइन करें जो कई internal services की ओर से email, push, SMS और in-app notifications भेजे, और साथ ही user preferences तथा delivery guarantees का सम्मान करे।UberNotification Delivery and RoutingIdempotency Key+1प्रीव्यू
- 51ML Feature StoreUber जैसी किसी company के लिए एक ML feature store डिज़ाइन करें जो एक ही features को offline model training और low-latency online inference दोनों को serve करे। offline/online store के split,...UberFeature Store / Point-in-Time CorrectnessAsync Job Queueप्रीव्यू
- 52Vector Databaseएक vector database के storage और query engine को design कीजिए जो approximate nearest-neighbor search के लिए अरबों embeddings को index करता है। इसमें ANN index design (HNSW graph construction,...Meta (Faiss)ANN Vector IndexSharding and Hot-Key Mitigationप्रीव्यू
- 53ML Model Serving Platformकई टीमों द्वारा इस्तेमाल होने वाला एक general-purpose ML model serving platform डिज़ाइन करें जो non-LLM prediction serving के लिए हो। इसमें model registry और versioning, online feature fetch, dynamic...NVIDIAFeature Store / Point-in-Time CorrectnessElastic Worker Autoscalingप्रीव्यू
- 54News Feed RankingInstagram या Facebook जैसी social news feed के लिए ranking सिस्टम डिज़ाइन करें। multi-stage funnel को कवर करें — candidate generation (two-tower/ANN (approximate-nearest-neighbor) retrieval) से early...Meta (Instagram)Multi-Stage Ranking FunnelTwo-Tower Retrieval+2प्रीव्यू
- 55Fraud Detectionएक real-time ML fraud/risk scoring सिस्टम डिज़ाइन करें जो payment transactions को 100 ms से कम में स्कोर करे। feature के प्रकार (velocity, graph, device), streaming feature computation, label delay...StripeReal-Time Rules/Policy EngineStreaming Windowed Aggregation+2प्रीव्यू
- 56ETA Predictionएक ETA prediction service डिज़ाइन करें जो हर सेकंड लाखों trips के लिए arrival-time estimates लौटाए। इसमें शामिल करें: एक routing-graph आधारित base estimate, उसके ऊपर एक सीखा हुआ residual correction,...UberFeature Store / Point-in-Time CorrectnessLatency Budget Decomposition+1प्रीव्यू
- 57Visual / Multimodal Searchअरबों items के catalog से visually similar images (और text-to-image matches) निकालने वाला एक visual और multimodal search system design करें। इसमें CNN/ViT और text encoders, approximate...PinterestTwo-Tower RetrievalANN Vector Index+1प्रीव्यू
- 58LLM Guardrails Pipelineएक guardrails pipeline डिज़ाइन करें जो किसी LLM application को layered input और output safety से लपेट दे। इसमें prompt-injection और jailbreak detection, PII redaction, output moderation, tool-call और...NVIDIA / MetaLLM Safety GuardrailsReal-Time Rules/Policy Engineप्रीव्यू
- 59IoT Device PlatformMQTT के ज़रिए लगभग 1 करोड़ कनेक्टेड डिवाइसों को मैनेज करने वाला एक platform डिज़ाइन करें: connection lifecycle और disconnect का पता लगाना, fleet-स्केल पर telemetry ingest, और — सबसे विशिष्ट समस्या —...—Persistent Connection ManagementNotification Delivery and Routing+2प्रीव्यू
- 60Distributed Key-Value Storeएक Dynamo-शैली का highly available key-value store डिज़ाइन करें: consistent hashing से keys को nodes पर बाँटें, हर key को N nodes पर replicate करें, और हर operation को quorum reads और writes (R + W >...—Quorum Replication and FailoverSharding and Hot-Key Mitigation+1प्रीव्यू
- 61LLM Evaluation PlatformLLM features ship करने वाले किसी organization के लिए evaluation platform design कीजिए: एक versioned golden set संभालिए (production traffic का stratified sample, एक adversarial library, हाथ से बनाए गए...—Offline/Online Evaluation and A/B TestingBias Correction (Position/Counterfactual)+1प्रीव्यू
- 62Real-time Voice AI Agentफ़ोन सपोर्ट और voice assistants के लिए एक real-time voice AI agent platform डिज़ाइन करें: user के बोलने से लेकर agent के जवाब देने तक का पूरा loop। इसमें शामिल है voice activity detection और turn...—Latency Budget DecompositionPersistent Connection Management+1प्रीव्यू
- 63Stock Exchangeकिसी stock exchange के core trading system को design करें: orders को एक central limit order book में लें, price-time priority पर match करें, और जब आपका अपना book किसी order को पूरा न कर सके, तो बाक़ी...—State Machine + Idempotent TransitionsIdempotency Key+2प्रीव्यू
- 64Distributed CacheRedis/Memcached स्केल की एक distributed in-memory cache service डिज़ाइन करें जो p99 5ms से नीचे रखते हुए लगभग 1M QPS संभाले। इसमें sharding के लिए consistent hashing, replication और failover,...MetaCache-Aside and Stampede ControlSharding and Hot-Key Mitigation+1प्रीव्यू
- 65Distributed Message Queueएक Kafka-शैली का durable, partitioned log broker डिज़ाइन करें जो high-throughput event streams को ingest करे। parallelism के लिए partitioning, in-sync replicas वाली replication, consumer groups और...Apache Kafka (LinkedIn)Sharding and Hot-Key MitigationQuorum Replication and Failoverप्रीव्यू
- 66Object Storageएक S3 जैसी object storage service डिज़ाइन करें जो अरबों immutable blobs को टिकाऊ ढंग से और सस्ते में स्टोर करे। इसमें metadata/data separation, 11-nines durability के लिए erasure coding, background...Amazon / BackblazeMetadata/Data SeparationQuorum Replication and Failover+1प्रीव्यू
- 67Food Delivery Marketplaceउपभोक्ताओं, Dashers और merchants को जोड़ने वाली एक DoorDash-शैली की food delivery marketplace डिज़ाइन करें। order lifecycle, courier dispatch और batching, live location tracking, ETA prediction,...UberState Machine + Idempotent TransitionsGeospatial Indexing+1प्रीव्यू
- 68Real-time Multiplayer Gameएक real-time multiplayer game के लिए authoritative server डिज़ाइन कीजिए। इसमें matchmaking, tick-आधारित authoritative simulation, client-side prediction और reconciliation, कम-latency वाला...Riot GamesPersistent Connection ManagementOptimistic Local Update + Reconciliationप्रीव्यू
- 69Live Commentsएक live comments सिस्टम डिज़ाइन करें जो एक ही live event के comments को real time में लाखों concurrent viewers तक fan out करे। pub/sub fan-out, hot-partition और celebrity केस, backpressure, flood के...MetaPub/Sub Fan-outSharding and Hot-Key Mitigation+2प्रीव्यू
- 70Online Judgeबड़े पैमाने पर untrusted user code को सुरक्षित रूप से चलाने वाला एक LeetCode-style online judge डिज़ाइन करें। इसमें submission queue, isolated multi-language runners (containers/gVisor/Firecracker),...Google / AmazonAsync Job QueueSandboxed Execution+1प्रीव्यू