प्रश्न

70 प्रश्न

अभ्यास श्रृंखला

सभी श्रृंखलाएं देखें

मुफ़्त पूरी गाइड

11 प्रश्न अभी पढ़ें, अकाउंट की ज़रूरत नहीं।

  1. 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मुफ़्त गाइड
  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मुफ़्त गाइड
  3. 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मुफ़्त गाइड

प्रीमियम प्रश्न

59 प्रॉम्प्ट ऐप लाइब्रेरी खोलने से पहले देखें।

  1. 12AI एजेंट सिस्टमएक production AI agent application platform डिज़ाइन करें जो user goals स्वीकार करे, context और memory संभाले, tools को सुरक्षित रूप से call करे, ज़रूरत पड़ने पर human review के लिए रुके, और traces व...—Agentic Tool-Calling LoopHuman-in-the-Loop Review+1प्रीव्यू
  2. 13Auction (eBay)एक eBay-शैली का auction सिस्टम डिज़ाइन करें — bidders live listings पर होड़ लगाते हैं और closing के समय भारी contention रहती है, तथा सिस्टम को कभी किसी हारती bid को winner नहीं मानना चाहिए, न ही किसी...eBayOptimistic Concurrency ControlState Machine + Idempotent Transitions+1प्रीव्यू
  3. 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प्रीव्यू
  4. 16Collaborative Shoppingएक ऐसा collaborative shopping अनुभव design करें जहाँ कई लोग real time में एक ही cart साझा करते हैं, एक साथ items जोड़ते और हटाते हैं, और एक नामित participant पूरे group की ओर से checkout करता है।—Conflict-Free Collaboration (OT/CRDT)Reservation Hold with TTL+2प्रीव्यू
  5. 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प्रीव्यू
  6. 18Donation PlatformGoFundMe जैसा एक donation platform डिज़ाइन करें — कोई campaign रातोंरात viral हो सकता है और छोटे-छोटे दान का भारी spike आ सकता है, और हर एक डॉलर capture होना चाहिए, refundable होना चाहिए, और एक सटीक...—Virtual Queue / Admission ControlAsync Job Queue+1प्रीव्यू
  7. 19Facebook Post Searchएक social feed पर search डिज़ाइन करें — users को keyword से posts लगभग real time में ढूँढने दें, साथ ही हर post की privacy/visibility settings का सम्मान करते हुए।MetaInverted Index SearchAccess Control Filtering (ACL)+1प्रीव्यू
  8. 20Flash Saleएक flash sale सिस्टम डिज़ाइन करें जहाँ किसी hot item की सीमित मात्रा एक निश्चित क्षण पर बिक्री के लिए आती है और कुछ ही सेकंड में 1000x traffic spike झेलती है — inventory कभी oversell नहीं होनी चाहिए,...—Atomic Counter InventoryVirtual Queue / Admission Control+2प्रीव्यू
  9. 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प्रीव्यू
  10. 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प्रीव्यू
  11. 23सहयोगी दस्तावेज़ संपादकसहयोगी दस्तावेज़ संपादक की real-time collaborative editing डिज़ाइन करें — कई users एक ही document में एक साथ typing करें और एक-दूसरे के edits को सही ढंग से converge होते देखें।GoogleConflict-Free Collaboration (OT/CRDT)Persistent Connection Management+1प्रीव्यू
  12. 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प्रीव्यू
  13. 29Moderation Serviceएक content moderation pipeline डिज़ाइन करें जो user के भेजे posts/media को policy उल्लंघनों के लिए screen करती है, platform scale पर posting latency और review accuracy के बीच संतुलन बनाते हुए।LinkedInHuman-in-the-Loop ReviewAsync Job Queue+1प्रीव्यू
  14. 30Monitoring and Alertingकिसी monitoring platform की alerting और observability layer डिज़ाइन करें — वह सिस्टम जो आने वाले signals पर rules evaluate करता है, तय करता है कि किसे page किया जाए, और incident के दौरान on-call...—Streaming Windowed AggregationNotification Delivery and Routingप्रीव्यू
  15. 31NetflixNetflix का video delivery system डिज़ाइन करें — एक licensed, curated catalog को दुनिया भर के करोड़ों concurrent viewers तक न्यूनतम buffering और एकसमान quality के साथ stream करें।—Edge Caching / CDNMulti-Provider Routing / Failover+1प्रीव्यू
  16. 32भुगतान सिस्टमएक e-commerce प्रोडक्ट के लिए payment system डिज़ाइन करें — पैसा buyer, platform और seller के बीच सही तरीके से move होना चाहिए, भले ही transaction के बीच में network fail हो जाए, और बाद में हर एक...StripeDouble-Entry LedgerIdempotency Key+2प्रीव्यू
  17. 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प्रीव्यू
  18. 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प्रीव्यू
  19. 36Search Bar Autocompleteकिसी search bar के पीछे का autocomplete/typeahead system डिज़ाइन कीजिए जो एक बड़े search engine के पैमाने पर, 50ms से कम के budget के भीतर, किसी partial prefix के लिए top-K query suggestions लौटाए।MetaPrecomputed Read ViewTop-K Ranking+2प्रीव्यू
  20. 38भुगतान API प्लेटफॉर्मभुगतान API प्लेटफॉर्म को खुद design करें — एक payments platform जिस पर दूसरी companies अपने product बनाती हैं, जो हज़ारों merchants को charge/webhook APIs देती है और साथ ही transactions को कई...StripeDouble-Entry LedgerIdempotency Key+2प्रीव्यू
  21. 39Technical Deep Diveकिसी ऐसे सिस्टम का technical deep dive पेश करें जिसे आपने खुद बनाया है — यह वही format है जो senior/staff interview loops में इस्तेमाल होता है, जहाँ आप एक project को शुरू से आखिर तक narrate करते हैं...—Latency Budget DecompositionCapacity Estimation and Scale Sizingप्रीव्यू
  22. 41TikTokTikTok के For You feed को डिज़ाइन करें — हर user के लिए एक अंतहीन short-video feed को rank और serve करें, personalized, बिना इस पर निर्भर हुए कि वह किसे follow करता है।ByteDanceMulti-Stage Ranking FunnelPrecomputed Read View+1प्रीव्यू
  23. 42Webhookएक webhook delivery platform (Stripe-webhooks जैसा) डिज़ाइन करें जो retry, ordering और security की बाधाओं के तहत हज़ारों third-party consumer endpoints तक event notifications विश्वसनीय रूप से पहुँचाए।StripeIdempotency KeyRetry with Backoff + Dead-Letter+1प्रीव्यू
  24. 43YelpYelp डिज़ाइन करें — एक local business search और review platform जो आस-पास के, filter किए जा सकने वाले business results को relevance और rating के हिसाब से rank करके लौटाता है।—Geospatial IndexingCache-Aside and Stampede Control+1प्रीव्यू
  25. 45RAG ज्ञान सहायकएक enterprise RAG knowledge assistant डिज़ाइन करें जो internal documents (wikis, tickets, contracts) पर कर्मचारियों के सवालों के जवाब दे — grounded, cited जवाब — और साथ ही हर document के access...OpenAIRAG Grounding and CitationANN Vector Index+2प्रीव्यू
  26. 46AI training clusterकई टीमों द्वारा साझा किए गए एक बड़े GPU/TPU training cluster के लिए scheduler डिज़ाइन करें, जहाँ टीमें distributed training jobs चला रही हैं; इसे gang scheduling (पूरे समूह को एक साथ schedule करना),...MetaResource Scheduling and PreemptionRate Limiting / Quotaप्रीव्यू
  27. 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प्रीव्यू
  28. 50Notification Systemएक multi-channel notification system डिज़ाइन करें जो कई internal services की ओर से email, push, SMS और in-app notifications भेजे, और साथ ही user preferences तथा delivery guarantees का सम्मान करे।UberNotification Delivery and RoutingIdempotency Key+1प्रीव्यू
  29. 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प्रीव्यू
  30. 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प्रीव्यू
  31. 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प्रीव्यू
  32. 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प्रीव्यू
  33. 56ETA Predictionएक ETA prediction service डिज़ाइन करें जो हर सेकंड लाखों trips के लिए arrival-time estimates लौटाए। इसमें शामिल करें: एक routing-graph आधारित base estimate, उसके ऊपर एक सीखा हुआ residual correction,...UberFeature Store / Point-in-Time CorrectnessLatency Budget Decomposition+1प्रीव्यू
  34. 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प्रीव्यू
  35. 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प्रीव्यू
  36. 59IoT Device PlatformMQTT के ज़रिए लगभग 1 करोड़ कनेक्टेड डिवाइसों को मैनेज करने वाला एक platform डिज़ाइन करें: connection lifecycle और disconnect का पता लगाना, fleet-स्केल पर telemetry ingest, और — सबसे विशिष्ट समस्या —...—Persistent Connection ManagementNotification Delivery and Routing+2प्रीव्यू
  37. 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प्रीव्यू
  38. 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प्रीव्यू
  39. 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प्रीव्यू
  40. 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प्रीव्यू
  41. 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प्रीव्यू
  42. 70Online Judgeबड़े पैमाने पर untrusted user code को सुरक्षित रूप से चलाने वाला एक LeetCode-style online judge डिज़ाइन करें। इसमें submission queue, isolated multi-language runners (containers/gVisor/Firecracker),...Google / AmazonAsync Job QueueSandboxed Execution+1प्रीव्यू