PromptLabX
PromptLabXLeetCode for Prompting

Problems

Pick a problem and start prompting.

135 problems
EasySystem DesignCustom

Batch Processing Pipelines with multiple data sources

Multiple Data sources: s3, pgdb Aggregation on long timeframes (30d, 60d, 90d, etc) calculated on the fly per frontend requests gives bad UX. Load time for web page is usually >10s

No attempts yet
EasySystem Design

Design a Counter Service

Track how many times each piece of content has been viewed. The counter must be fast to increment and accurate enough for analytics.

No attempts yet
EasySystem Design

Design a Feature Flag Service

Engineers need to toggle features on or off for specific users or percentages of traffic without redeploying code.

No attempts yet
EasySystem Design

Design a Health Check System

Monitor whether each service in a fleet is up and responding correctly. Alert on-call engineers when a service goes down.

1 attempt
EasySystem Design

Design a Key-Value Store

Build a simple distributed key-value store that supports get, put, and delete operations with low latency.

2 attempts
EasySystem Design

Design a Leaderboard System

A mobile game needs a real-time leaderboard showing the top players by score. Rankings must update within seconds.

1 attempt
EasySystem Design

Design a Pastebin

Users want to share snippets of text or code via a short link. The paste should expire after a configurable time.

No attempts yet
EasySystem Design

Design a Polling System

Users can create polls, cast votes, and see live results. Design for correctness under concurrent votes and real-time result updates.

No attempts yet
EasySystem Design

Design a QR Code Generator

Users submit a URL or text and receive a scannable QR code image. The service must handle high request volume with low latency.

No attempts yet
EasySystem Design

Design a Rate Limiter

An API needs to limit how many requests a client can make in a given time window to prevent abuse.

2 attempts
EasySystem Design

Design a Session Store

A web application needs to store and retrieve user session data with millisecond latency and automatic expiry.

No attempts yet
EasySystem Design

Design a Simple Logging Service

Applications emit log lines at high throughput. Design a system to ingest, store, and query logs by service name and time range.

No attempts yet
EasySystem Design

Design a URL Shortener

Make long links shorter and trackable. Users paste a URL and get a short alias that redirects to the original.

No attempts yet
EasySystem Design

Design a Waitlist System

A product launch needs a waitlist where users sign up, receive a unique referral link, and move up the queue by referring others.

2 attempts
EasySystem Design

How can a game show top players in near real time?

A game needs rankings that refresh quickly as scores change, and users expect the ordering to feel current and fair.

No attempts yet
EasySystem Design

How can people share text snippets with a simple link?

Users want to publish short snippets of text or code and retrieve them later through a compact URL, sometimes with expiration.

No attempts yet
EasySystem Design

How can users vote and see results update immediately?

Users create polls, cast votes concurrently, and expect the displayed totals to stay responsive and trustworthy.

No attempts yet
EasySystem Design

How can we tell when a service is unhealthy before users complain?

Operators need a reliable way to detect failing services across a fleet and alert the right people quickly.

No attempts yet
EasySystem Design

How can we turn submitted text or URLs into scannable codes at scale?

Users provide text or links and expect a generated QR image quickly, even during bursts of traffic.

No attempts yet
EasySystem Design

How do I get dynamic configuration changes in my system without redeployment?

Services need to read and update small pieces of shared state quickly, with low latency and predictable behaviour under load.

No attempts yet
1 / 7