Python Practice

Real-life problems solved with Python. Read the scenario, write the program, and see your answer checked against hidden tests.

Leaderboard
Expert50 pts

Detect duplicate card transactions

Algorithms

Solve challenge
Expert50 pts

Merge overlapping room bookings

Algorithms

Solve challenge
Expert50 pts

Best day to buy and sell

Algorithms

Solve challenge
Expert50 pts

Spend the ad budget for the most leads

Algorithms

Solve challenge
Expert50 pts

Contract redline: how much really changed?

Algorithms

Solve challenge
Expert50 pts

Cheapest fare and how many ways to fly it

Algorithms

Solve challenge
Expert50 pts

Build schedule for a new hospital wing

Algorithms

Solve challenge
Expert50 pts

Watching a social network grow its biggest circle

Algorithms

Solve challenge
Expert50 pts

Emergency room: who gets the next doctor?

Algorithms

Solve challenge
Expert50 pts

Reorder point simulation for a Lagos pharmacy chain

Simulation & Finance

Solve challenge
Expert50 pts

Nearest-driver dispatch in Jakarta

Simulation & Finance

Solve challenge
Expert50 pts

How many extra tickets can a flight sell?

Simulation & Finance

Solve challenge
Expert50 pts

Build the league table with head-to-head tie-breaks

Lists & Dictionaries

Solve challenge
Expert50 pts

Anomalies that do not poison the baseline

Data Analysis

Solve challenge
Expert50 pts

Black Friday forecast: seasonality plus trend

Data Analysis

Solve challenge
Expert50 pts

FIFO inventory: cost of goods sold

Simulation & Finance

Solve challenge
Expert50 pts

Triangular currency arbitrage scanner

Algorithms

Solve challenge
Expert50 pts

Break-even with a sales mix and step costs

Simulation & Finance

Solve challenge
Expert50 pts

Renewal schedule with plan upgrades

Dates & Time

Solve challenge
Expert50 pts

How much does a yearly prepayment save?

Simulation & Finance

Solve challenge
Expert50 pts

Hospital shift payroll with night and Sunday premiums

Simulation & Finance

Solve challenge
Expert50 pts

Savings interest on daily balances

Dates & Time

Solve challenge
Expert50 pts

Clean the messy order export

Data Analysis

Solve challenge
Expert50 pts

Spot the outlier flights

Data Analysis

Solve challenge
Expert50 pts

Waiting-time percentiles by hospital site

Data Analysis

Solve challenge
Expert50 pts

School league with shared ranks

Data Analysis

Solve challenge
Expert50 pts

Week-over-week traffic growth

Dates & Time

Solve challenge
Expert50 pts

Maximum drawdown of a stock

Simulation & Finance

Solve challenge
Expert50 pts

SLA breaches by ticket priority

Dates & Time

Solve challenge
Expert50 pts

Pocket calculator with exact fractions

Algorithms

Solve challenge
Expert50 pts

Sessionise the clickstream

Dates & Time

Solve challenge
Expert50 pts

Bracket tags gone wrong

Algorithms

Solve challenge
Expert50 pts

Find the customers who signed up twice

Algorithms

Solve challenge
Expert50 pts

Checkout with three-for-two deals

Lists & Dictionaries

Solve challenge
Expert50 pts

A tiny mail-merge template engine

Strings

Solve challenge
Expert50 pts

Revenue rollup from nested JSON orders

Data Analysis

Solve challenge