Challenges
Beginner journey
Very easy + easy · Your dashboard follows this path. Browse any difficulty in Challenges.
Your growing collection
Every solved challenge is a little win.
0 / 200 solved
0% of the selected library completed
FIND YOUR FLOW
Choose your challenge
Browse any difficulty. Very easy and easy challenges are free; medium and hard challenges require Pro to play.
Build it yourself
Change Every Second Match
Replace the second, fourth, sixth, and later even-numbered occurrences of target with replacement. target and replacement each contain one character.
Occurrence parity in editing
Build it yourself
One Changed Measurement
Return true if the lists have equal length and differ at exactly one position.
Aligned mismatch constraint
Build it yourself
Count Gaps in Ordered Labels
numbers is strictly increasing. Count the integers missing between its first and last values. Lists shorter than two return zero.
Neighbor gaps in sorted data
Build it yourself
Summarize Session Durations
numbers contains nonnegative durations in minutes. Return [complete hours, leftover minutes] for their combined duration.
Accumulate then convert units
Build it yourself
Pack Each Group Separately
Each nonnegative item is a separate group size. Boxes hold capacity people, with capacity from 1 to 20. Groups cannot share boxes. Return total boxes required.
Rounded-up division per item
Build it yourself
Apply One Free-Item Offer
Prices are nonnegative. If any items exist, the cheapest one is free exactly once. Return the total amount paid; empty input returns zero.
Total and minimum together
Build it yourself
Keep the Recorded Middle
Remove all leading and trailing zeros, while preserving zeros between nonzero items. Return an empty list if all items are zero.
Locate both retained boundaries
Build it yourself
Carry the Last Known Reading
Replace each zero with the most recent nonzero value before it. Leading zeros remain zero. Keep nonzero values unchanged.
Value carried across gaps