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
Alternate Moves on a Ring
Simulate alternating move sizes while wrapping a position.
Alternate Moves on a Ring
Build it yourself
Shop with Rising Prices
Track a budget, a changing price, and whether shopping has stopped.
Shop with Rising Prices
Traversing a list
Conditions during traversal
Build it yourself
Keep the Highest Reading
Initialize a best value from actual data and improve it while scanning.
Tracking the best value
Build it yourself
Find the First Exact Match
Return the position of the first match and a documented missing-result value.
Linear search
Build it yourself
Check Every Value Is in Range
Search for a counterexample before accepting an entire list.
Checking an all-items rule
Build it yourself
Find the Last Exact Match
Continue searching after a success when later matches can improve the answer.
Remembering a search result
Build it yourself
Multiply the Supplied Factors
Use one as the starting value for repeated multiplication.
Choosing an accumulator identity
Build it yourself
Average a Basket of Scores
Compute a total and then divide safely by the number of items.
Combining traversal with a guard
Build it yourself
Weight Values by Their Position
Distinguish a zero-based position from a one-based weight.
Using an index and its item together
Build it yourself
Balance Positive and Negative Votes
Map each item to a contribution of positive one, negative one, or zero.
Three-way classification in a loop
Build it yourself
Add a Bonus to Every Score
Produce one transformed output item for each input item.
Building a mapped list
Build it yourself
Keep Only Positive Readings
Append selected input items and omit rejected items entirely.
Filtering while preserving order
Build it yourself
Measure Every Value from Zero
Apply a different transformation to negative and nonnegative values.
Conditional mapping
Build it yourself
Clamp Every Reading
Choose between a lower boundary, original value, and upper boundary for every item.
Three-way mapping
Build it yourself
Collect All Matching Positions
Build a list of every matching index instead of stopping at one match.
Returning search locations
Build it yourself
Take the First Few Items
Use a position boundary to select a prefix without reading past the input.
A bounded list prefix
Build it yourself
Keep Alternating Positions
Apply an even-position rule independently of item values.
Selecting by index parity
Build it yourself
Reverse the Item Order
Calculate the matching position measured from the end of a list.
Mirrored indices
Build it yourself
Repeat Each Item Twice
Create multiple neighboring output items from one input item.
Expanding a list
Build it yourself
Interleave Two Equal Lists
Read the same position from two lists during one traversal.
Parallel traversal
Build it yourself
Open a One-Character Window
Read one character as text after checking both index boundaries.
Safe character access
Build it yourself
Count a Character in a Message
Read every character and count exact, case-sensitive matches.
Text traversal