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
Easy

Build it yourself

Separate Debits from Credits

Return negative items first, then nonnegative items, preserving order within each group.

Stable value partition

6 min12 languages
Easy

Build it yourself

Move Missing Values to the End

Move every zero to the end while preserving the order of nonzero values and the original length.

Retain length during compaction

6 min12 languages
Easy

Build it yourself

Combine Nonoverlapping Pairs

Add items in disjoint pairs: indices 0 and 1, then 2 and 3, and so on. If one final item remains, keep it unchanged.

Grouped positions

6 min12 languages
Easy

Build it yourself

Mark Missing Measurements

Return a list containing 1 for each zero item and 0 for each nonzero item.

Integer flag mapping

6 min12 languages
Easy

Build it yourself

Remove One Requested Item

Remove only the first occurrence of target and return all remaining items in order.

One-time filtering state

6 min12 languages
Easy

Build it yourself

Limit Repeated Selections

Keep every nonmatching item, but retain only the first limit occurrences of target. limit is 0 to 20.

Bounded selection count

6 min12 languages
Easy

Build it yourself

Attach a Marker to Matching Items

Insert marker immediately after every original item equal to target. Newly inserted markers do not trigger further insertions.

Conditional insertion

6 min12 languages
Easy

Build it yourself

Put a Marker between Readings

Insert marker between every pair of neighboring input items. Do not add a marker before the first or after the last.

Separator placement

6 min12 languages
Easy

Build it yourself

Duplicate Positive Items Only

Return each item once, and add one extra copy immediately after every strictly positive item.

Variable output contributions

6 min12 languages
Easy

Build it yourself

Suppress the Baseline Band

Replace values inside inclusive low..high with 0. Preserve values outside that interval. low <= high.

Value-dependent replacement

6 min12 languages
Easy

Build it yourself

Cut a Span from a Message

Remove characters from start inclusive to stop exclusive. 0 <= start <= stop <= message length.

Text interval editing

6 min12 languages
Easy

Build it yourself

Insert a Note into a Message

Insert addition before character position; position may equal message length to append. 0 <= position <= length.

Text insertion

6 min12 languages
Easy

Build it yourself

Reveal Only the Ends

Keep the first and last characters and replace every character between them with *. Text shorter than three characters stays unchanged.

Selective masking

6 min12 languages
Easy

Build it yourself

Give Lowercase Vowels an Echo

Duplicate each lowercase vowel a, e, i, o or u immediately after itself. Keep every other character once.

Conditional text expansion

6 min12 languages
Easy

Build it yourself

Delete the Last Matching Character

Remove only the last occurrence of target, which is exactly one character. Keep the original message if target is absent.

Search then edit

6 min12 languages
Easy

Build it yourself

Collapse Repeated Spaces

Replace every consecutive group of spaces with one space. Preserve a single leading or trailing space when present.

Contextual text compaction

6 min12 languages
Easy

Build it yourself

Remove Only the Opening Spaces

Remove spaces only from the beginning of message. Preserve every character from the first non-space onward.

A one-way state change

6 min12 languages
Easy

Build it yourself

Read Until a Marker

Return the text before the first marker character. marker has exactly one character; if absent, return all text.

Prefix termination

6 min12 languages
Easy

Build it yourself

Keep the Final Field

Return the text after the last marker character. marker has exactly one character; if absent, return all text.

Suffix after the last delimiter

6 min12 languages
Easy

Build it yourself

Keep Text inside Toggle Marks

Each | toggles whether following characters are kept. Start with keeping off; omit the | markers themselves. A final unmatched | keeps the remaining text.

Boolean editing state

6 min12 languages
Easy

Build it yourself

Accept a Binary Label

Return true exactly when message is nonempty and every character is 0 or 1.

Membership validation

6 min12 languages
Easy

Build it yourself

Alternate Two Signal Letters

Return true when message is nonempty, contains only A and B, and every neighboring pair differs.

Validation across positions

6 min12 languages
Easy

Build it yourself

Exactly Two Nonempty Fields

Return true when message contains exactly one colon, with at least one character on each side. Other characters may be anything except another colon.

Delimiter count and endpoints

6 min12 languages
Easy

Build it yourself

Check a Round-Bracket Sequence

message contains only ( and ). Return true if every closing bracket has an earlier unmatched opening bracket and no opening bracket remains unmatched.

Prefix validity

6 min12 languages