Challenges

Beginner journey

Very easy + easy · Your dashboard follows this path. Browse any difficulty in Challenges.

LET’S GET YOU STARTED

Add Two Counts

Return the sum of two supplied whole numbers.

Start a challenge 5 XP · 3 min

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

Start small. Follow your curiosity.

Browse any difficulty. Very easy and easy challenges are free; medium and hard challenges require Pro to play.

200 challenges to discover
Very easy

Build it yourself

Alternate Moves on a Ring

Simulate alternating move sizes while wrapping a position.

Alternate Moves on a Ring

3 min13 languages
Very easy

Build it yourself

Shop with Rising Prices

Track a budget, a changing price, and whether shopping has stopped.

Shop with Rising Prices

3 min13 languages
Easy

Build it yourself

Total a List

Use a loop position to read every item exactly once.

Traversing a list

6 min12 languages
Easy

Build it yourself

Count Scores That Qualify

Count matching items rather than sum their values.

Conditions during traversal

6 min12 languages
Easy

Build it yourself

Keep the Highest Reading

Initialize a best value from actual data and improve it while scanning.

Tracking the best value

6 min12 languages
Easy

Build it yourself

Find the First Exact Match

Return the position of the first match and a documented missing-result value.

Linear search

6 min12 languages
Easy

Build it yourself

Check Every Value Is in Range

Search for a counterexample before accepting an entire list.

Checking an all-items rule

6 min12 languages
Easy

Build it yourself

Find the Last Exact Match

Continue searching after a success when later matches can improve the answer.

Remembering a search result

6 min12 languages
Easy

Build it yourself

Multiply the Supplied Factors

Use one as the starting value for repeated multiplication.

Choosing an accumulator identity

6 min12 languages
Easy

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

6 min12 languages
Easy

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

6 min12 languages
Easy

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

6 min12 languages
Easy

Build it yourself

Add a Bonus to Every Score

Produce one transformed output item for each input item.

Building a mapped list

6 min12 languages
Easy

Build it yourself

Keep Only Positive Readings

Append selected input items and omit rejected items entirely.

Filtering while preserving order

6 min12 languages
Easy

Build it yourself

Measure Every Value from Zero

Apply a different transformation to negative and nonnegative values.

Conditional mapping

6 min12 languages
Easy

Build it yourself

Clamp Every Reading

Choose between a lower boundary, original value, and upper boundary for every item.

Three-way mapping

6 min12 languages
Easy

Build it yourself

Collect All Matching Positions

Build a list of every matching index instead of stopping at one match.

Returning search locations

6 min12 languages
Easy

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

6 min12 languages
Easy

Build it yourself

Keep Alternating Positions

Apply an even-position rule independently of item values.

Selecting by index parity

6 min12 languages
Easy

Build it yourself

Reverse the Item Order

Calculate the matching position measured from the end of a list.

Mirrored indices

6 min12 languages
Easy

Build it yourself

Repeat Each Item Twice

Create multiple neighboring output items from one input item.

Expanding a list

6 min12 languages
Easy

Build it yourself

Interleave Two Equal Lists

Read the same position from two lists during one traversal.

Parallel traversal

6 min12 languages
Easy

Build it yourself

Open a One-Character Window

Read one character as text after checking both index boundaries.

Safe character access

6 min12 languages
Easy

Build it yourself

Count a Character in a Message

Read every character and count exact, case-sensitive matches.

Text traversal

6 min12 languages