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
Separate Debits from Credits
Return negative items first, then nonnegative items, preserving order within each group.
Stable value partition
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
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
Build it yourself
Mark Missing Measurements
Return a list containing 1 for each zero item and 0 for each nonzero item.
Integer flag mapping
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
Build it yourself
Accept a Binary Label
Return true exactly when message is nonempty and every character is 0 or 1.
Membership validation
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
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
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