CodeArchon

Visualizers

See the algorithm run, step by step.

Not static diagrams. Not YouTube embeds. Interactive timelines you control.

Each problem is reframed as an original scenario, visualized with synced code and narration, and solvable in five languages. Scrub the timeline, switch approaches, feed in your own input.

easyArrays & Hashing

Concert Gate Scanner

A box-office scanner beeps each guest's ticket number at the gate. Raise a duplicate-use alert if any ticket beeps twice.

2 approaches·5 languages
easyArrays & Hashing

Letter Shuffle Verifier

Two gift tags arrive. Are they rearrangements of the same letters, or did someone mislabel a box?

2 approaches·5 languages
easyArrays & Hashing

Lost Receipt Pair Finder

You know the dinner total but lost the receipt. From a list of drink prices, find the two whose sum matches the bill.

2 approaches·5 languages
mediumArrays & Hashing

Lunch Menu Signature Sort

A lunch menu lists dishes whose names are jumbles of the same letters. Group them so the kitchen can print one row per base dish.

1 approaches·5 languages
mediumArrays & Hashing

Festival Booth Favorites

Each entry in the festival log is a booth number a guest visited. Report the k most-visited booths.

1 approaches·5 languages
mediumArrays & Hashing

Dispatch Packet Bundler

A dispatcher must bundle a list of messages into a single transmission string and the receiver must be able to recover the exact original list — any character can appear in a message.

1 approaches·5 languages
mediumArrays & Hashing

Relay Baton Totals

Each runner on a relay team is awarded the product of their teammates' leg scores — never their own. Compute every runner's score.

1 approaches·5 languages
mediumArrays & Hashing

Checkerboard Audit

A puzzle magazine checks a partially filled Sudoku board against the three house rules before publishing.

1 approaches·5 languages
mediumArrays & Hashing

Marathon Bib Run

Runners drop their race bibs at the finish in random order. Find the length of the longest run of consecutive bib numbers.

1 approaches·5 languages
easyTwo Pointers

Mirror Sign Verifier

A billboard installer tests whether a slogan reads the same from both ends after stripping punctuation and casing.

2 approaches·5 languages
mediumTwo Pointers

Sorted Price Pair

A sorted price catalog is on your desk. Find two line-items whose prices add up to a budget target.

2 approaches·5 languages
mediumTwo Pointers

Zero-Sum Trio Hunt

An inventory auditor must find every trio of ledger entries that cancel to exactly zero.

2 approaches·5 languages
mediumTwo Pointers

Widest Water Reservoir

A planner inspects a row of posts of varying heights. Picking two posts, the reservoir's water volume equals the shorter post times the distance between them. Maximize it.

2 approaches·5 languages
hardTwo Pointers

Rooftop Rain Reservoir

A rooftop skyline collects rain in the dips between taller sections. Compute the total volume of water held after a storm.

1 approaches·5 languages
easySliding Window

Market Timing Profit

A trader sees the day-by-day price of a single stock. Picking exactly one buy day and one later sell day, what is the maximum profit?

2 approaches·5 languages
mediumSliding Window

Fresh Tasting Streak

A sommelier tastes bottles in order and keeps serving until a flavour repeats. What's the longest run of unique flavours?

2 approaches·5 languages
mediumSliding Window

Flexible Flag Repaint

A row of colored flags; you may repaint at most k of them. What's the longest run of a single color you can achieve?

1 approaches·5 languages
mediumSliding Window

Anagram Window Alarm

A fraud detector raises an alarm whenever any contiguous slice of an incoming message contains exactly the letters of a watch-list word.

1 approaches·5 languages
hardSliding Window

Minimum Keyring Window

A set of required keys and a long chain of pouches. Find the shortest contiguous stretch of pouches whose multiset of keys covers everything you need.

1 approaches·5 languages
hardSliding Window

Window Peak Scanner

A moving spotlight of width k scans a row of sensor readings. For every spotlight position, report the brightest reading inside it.

1 approaches·5 languages
easyStack

Bracket Balance Audit

A linter inspects a punctuation string containing `()`, `[]`, and `{}`. Every opener must be closed in the correct order.

1 approaches·5 languages
mediumStack

Minimum-Aware Stack

Design a stack that supports push, pop, top, and getMin — each in O(1).

1 approaches·5 languages
mediumStack

Postfix Expression Evaluator

A calculator receives tokens in reverse-Polish order (operator after its operands). Compute the final integer.

1 approaches·5 languages
mediumStack

Bracket Blueprint Builder

A code formatter emits every valid nesting of N pairs of brackets for a stress test suite.

1 approaches·5 languages
mediumStack

Warmer Day Countdown

For each day's temperature reading, report how many days you must wait before a warmer day arrives (0 if none).

1 approaches·5 languages
mediumStack

Freeway Convoy Count

Cars drive the same freeway toward a target. A car cannot overtake; it slows down to match the one in front. How many distinct convoys arrive?

1 approaches·5 languages
hardStack

Skyline Rectangle Scan

A row of unit-width buildings forms a histogram. Find the biggest axis-aligned rectangle that fits entirely inside the skyline.

1 approaches·5 languages
easyBinary Search

Shelf Lookup

An archivist walks the shelf of SKU numbers (sorted) and jumps halfway each step to find a specific tag — or confirm it's not there.

1 approaches·5 languages
mediumBinary Search

Flattened Grid Lookup

A warehouse packs items row-first into a grid whose rows and row-starts are both sorted. Find a specific SKU.

1 approaches·5 languages
mediumBinary Search

Banana Pacing Rate

A koala eats at some fixed rate k bananas/hour from several piles. Find the slowest rate that finishes within h hours.

1 approaches·5 languages
mediumBinary Search

Rotated Low Point

A once-sorted shelf of distinct IDs was rotated by an unknown offset. Find the smallest ID in O(log n).

1 approaches·5 languages
mediumBinary Search

Rotated Target Hunt

A previously sorted catalog was rotated unknown times. Locate a target entry in O(log n).

2 approaches·5 languages
mediumBinary Search

Timeline Snapshot Store

A key-value store records writes with timestamps. A read at time t returns the value from the latest write at time ≤ t.

1 approaches·5 languages
hardBinary Search

Dual-Sorted Median

Two independently sorted sensor logs are to be merged conceptually. Report the median of the combined readings in O(log(min(m,n))).

1 approaches·5 languages
easyLinked List

Reverse Chain

A singly linked chain of beads. Rebuild it so the last bead becomes the first and all arrows face backward.

1 approaches·5 languages
easyLinked List

Merge Sorted Chains

Two already-sorted sensor logs stream in. Weave them into one sorted log in place.

1 approaches·5 languages
easyLinked List

Loop Detector

Audit a linked chain for a hidden feedback loop. Report whether any node is reachable from itself.

1 approaches·5 languages
mediumLinked List

Fold Chain

A theatre seating list in a strip must be folded so attendees sit alternately from the front and the back.

1 approaches·5 languages
mediumLinked List

Dropkick From Tail

A queue of waiting tickets is linked front-to-back. Remove the nth-from-last ticket in one pass.

1 approaches·5 languages
mediumLinked List

Carbon Copy Chain

Each node has a next pointer AND a random pointer to any other node. Produce a deep copy without using extra per-node storage.

1 approaches·5 languages
mediumLinked List

Digit Chain Sum

Two very large non-negative integers are stored one digit per node, least-significant digit first. Produce their sum in the same format.

1 approaches·5 languages
mediumLinked List

Duplicate Detective

An array of n+1 integers all in [1, n] must have a repeat. Find it without modifying the array in O(1) extra space.

1 approaches·5 languages
mediumLinked List

LRU Cabinet Keeper

A librarian keeps the N most recently used books on a priority shelf; the least-recent one is evicted when the shelf is full.

1 approaches·5 languages
hardLinked List

K-Way Chain Merger

A tournament coordinator pairwise merges k sorted standings into one grand leaderboard in O(N log k).

1 approaches·5 languages
hardLinked List

K-Fold Chain Reversal

A conveyor-belt sorter reverses parcels in fixed-size windows of k; any trailing partial window is left alone.

1 approaches·5 languages
easyTrees

Locale Layout Inverter

A UI rendering engine flips directory trees and navigation hierarchies to support Right-to-Left (RTL) locales.

1 approaches·5 languages
easyTrees

Canopy Height Scanner

An aerial LiDAR inspects tree canopies as nested branch nodes to calculate the maximum canopy depth.

1 approaches·5 languages
easyTrees

Signal Span Router

A computer network analyst measures the largest communication latency (diameter) in a decentralized hub topology.

1 approaches·5 languages
easyTrees

Silo Balance Monitor

A silo inventory router checks whether storage structures have evenly balanced bins to distribute physical load safely.

1 approaches·5 languages
easyTrees

Structural Sync Auditor

An administrator compares a backup folder hierarchy against a source schema to confirm structures match completely in metadata and order.

1 approaches·5 languages
easyTrees

Subassembly Matcher

An industrial factory scanner analyzes modular blue-prints to determine if a smaller sub-assembly configuration exists exactly inside a larger system layout.

1 approaches·5 languages
easyTrees

Common Distribution Grid

An electrical utility layout maps power hubs in sorted voltage values. To find the closest mutual hub for two houses, engineers calculate the Lowest Common Ancestor.

1 approaches·5 languages
mediumTrees

Wave Broadcast Scanner

A wireless antenna broadcasts a spatial ping. The network analyzer logs the propagation waves horizontal level-by-level.

1 approaches·5 languages
mediumTrees

East Horizon View

Standing on the Eastern horizon of a forest development lot, a surveyor logs only the tallest, outermost branches visible.

1 approaches·5 languages
mediumTrees

Good Nodes Accumulator

A hydrologist counts unblocked watershed channels. A point is an unblocked 'good reservoir' if its elevation matches or exceeds all upstream elements.

1 approaches·5 languages
mediumTrees

Sorted Catalog Verifier

A librarian audits a hierarchical shelf catalog to confirm it satisfies the BST ordering invariant across every ancestor-descendant pair.

1 approaches·5 languages
mediumTrees

Rank Index Finder

A tournament database holds player scores in a sorted hierarchy. The ranking engine needs the K-th lowest score efficiently.

1 approaches·5 languages
mediumTrees

Blueprint Reconstructor

An archaeology lab holds two separate traversal logs from a lost ancestral family tree. Reconstructing the full genealogy requires splicing preorder (ancestry priority) with inorder (left-to-right chronology).

1 approaches·5 languages
hardTrees

Maximum Current Path

A power grid analyst routes current through a branching junction network; some junctions amplify and others resist. Find the single path with maximum net current flow.

1 approaches·5 languages
hardTrees

Codec Transceiver

A satellite ground station must beam a hierarchical sensor map down to orbit as a flat telemetry string, then reconstruct it bit-for-bit on the receiver.

1 approaches·5 languages
easyHeap / Priority Queue

K-Floor VIP Keeper

A hotel keeps only the K highest-tier guests on its exclusive floor; each new arrival may bump out the lowest-tier VIP.

1 approaches·5 languages
easyHeap / Priority Queue

Boulder Showdown Arena

Two heaviest boulders are hurled at each other every round. Equal weights annihilate; unequal weights leave a fragment that re-enters the arena.

1 approaches·5 languages
mediumHeap / Priority Queue

Nearest Beacon Filter

A space station retains telemetry links for only the K nearest beacons, dropping farther ones as new signals arrive.

1 approaches·5 languages
mediumHeap / Priority Queue

Rank Rail Selector

A trading desk ranks instrument scores and only cares about the K highest; smaller noise is discarded on the fly.

1 approaches·5 languages
mediumHeap / Priority Queue

CPU Cooldown Scheduler

A single-core CPU dispatches tasks of various types; each type must wait N cycles before running again. Minimize total cycles (including idles).

1 approaches·5 languages
mediumHeap / Priority Queue

Streaming Timeline Hub

A micro-blogging backend fans in tweets from a user and everyone they follow, surfacing the 10 most recent in merged order.

1 approaches·5 languages
hardHeap / Priority Queue

Dual Dam Median Watcher

Two reservoirs — a lower dam (max-heap) and an upper dam (min-heap) — split an incoming water-level stream so their peak levels always sandwich the running median.

1 approaches·5 languages
mediumTries

Lexicon Lattice

A keyboard autocomplete routine ingests a dictionary and later answers whole-word and prefix lookups in O(length).

1 approaches·5 languages
mediumTries

Wildcard Word Vault

A password-recovery drawer stores admitted words; later queries probe entries using '.' as a universal joker slot.

1 approaches·5 languages
hardTries

Puzzle Board Harvest

A word-search generator sweeps a letter grid and collects every dictionary word spelled by connected neighboring cells.

1 approaches·5 languages
mediumBacktracking

Powerset Expander

A feature-flag planner enumerates every possible on/off combination of distinct toggles.

1 approaches·5 languages
mediumBacktracking

Coin Combo Mint

A vending mint lists every multiset of coin denominations whose face values sum to a target amount.

1 approaches·5 languages
mediumBacktracking

Receipt Reconciler

A fraud auditor finds every subset of receipt amounts that reconciles to a disputed total — each receipt used at most once, duplicates in the pile must not inflate the answer list.

1 approaches·5 languages
mediumBacktracking

Lineup Shuffler

A scheduling coach enumerates every ordering of a roster for alternate practice lineups.

1 approaches·5 languages
mediumBacktracking

Duplicate-Aware Powerset

A merchandise bundler generates every distinct bundle of items from a stock list that may contain duplicates.

1 approaches·5 languages
mediumBacktracking

Grid Letter Trailblazer

A route planner tries to spell a target word by walking neighboring tiles on a letter board without revisiting any cell.

1 approaches·5 languages
mediumBacktracking

Palindrome Partitioner

A linguistic analyzer segments a text into contiguous slices that each read the same forwards and backwards.

1 approaches·5 languages
mediumBacktracking

Dialpad Dictionary Dialer

A T9 keypad emits every possible letter combination for a dialed digit sequence (e.g. '23' -> ad, ae, …, cf).

1 approaches·5 languages
hardBacktracking

Royal Court Standoff

A chess tutor arranges N queens on an N×N board so none attack each other across rows, columns, or diagonals.

1 approaches·5 languages
mediumGraphs

Island Census

A cartographer counts contiguous landmasses on a satellite grid where '1' = land and '0' = water.

1 approaches·5 languages
mediumGraphs

Largest Island Surveyor

A geographer ranks landmasses by acreage from a binary satellite map and reports the largest.

1 approaches·5 languages
mediumGraphs

Social Graph Mirror

A privacy pipeline deep-copies an entire friends-of-friends graph (preserving cycles) before sharing with downstream analytics.

1 approaches·5 languages
mediumGraphs

Firewatch Distance

A fire marshal annotates every empty room with the shortest Manhattan distance to the nearest emergency exit (gate). Walls block paths.

1 approaches·5 languages
mediumGraphs

Citrus Spoilage Timer

A warehouse tracks how a mold outbreak on crate-stacked oranges spreads to all neighbors each minute.

1 approaches·5 languages
mediumGraphs

Watershed Divide

A hydrology grid identifies cells whose rainwater can flow to BOTH the Pacific (top/left borders) and Atlantic (bottom/right borders) along downhill-only paths.

1 approaches·5 languages
mediumGraphs

Captured Region Flipper

A board-game solver flips captured enemy territories to friendly, keeping only groups touching the board edge safe.

1 approaches·5 languages
mediumGraphs

Course Prerequisite Plan

A university registrar checks whether a student can finish every course given the prerequisite dependency graph.

1 approaches·5 languages
mediumGraphs

Course Order Scheduler

A degree planner emits a valid semester-by-semester course order that respects every prerequisite — or declares the plan impossible.

1 approaches·5 languages
mediumGraphs

Union-Find Tree Validator

An ops reviewer checks whether a hardware wiring diagram with n nodes and some bidirectional cables forms a single acyclic tree.

1 approaches·5 languages
mediumGraphs

Component Counter

A network analyst counts how many isolated subnets emerge from a list of peer-to-peer links across n machines.

1 approaches·5 languages
mediumGraphs

Spare-Link Finder

A tree-shaped mesh network has one extra cable that creates a cycle. Identify the last-added cable that must be removed.

1 approaches·5 languages
hardGraphs

Word-Ladder Transformer

A spelling game morphs one word into another by changing one letter at a time; each intermediate must come from a given dictionary.

1 approaches·5 languages
mediumAdvanced Graphs

Signal Broadcast Timer

A master clock sends a sync pulse from node k through a directed, weighted comm mesh. Return the moment every node has received the pulse.

1 approaches·5 languages
hardAdvanced Graphs

Flight Itinerary Weaver

A travel agent reconstructs a single itinerary that uses every provided flight ticket exactly once, starting from JFK, preferring lexicographically smaller stops when choices tie.

1 approaches·5 languages
mediumAdvanced Graphs

Grid-Point Spanner

A fiber contractor connects every village (point) at minimum trenching cost using Manhattan distance between any pair.

1 approaches·5 languages
hardAdvanced Graphs

Rising Tide Pathfinder

A swimmer in a bowl-shaped grid can enter cell (r,c) only when the tide ≥ its elevation. Find the earliest tide reaching bottom-right.

1 approaches·5 languages
hardAdvanced Graphs

Lexicon Ordering

Linguists infer a lost alphabet's letter order by comparing adjacent words sorted in that unknown alphabet.

1 approaches·5 languages
mediumAdvanced Graphs

Budget Flight Finder

A budget traveler finds the cheapest ticket chain from src to dst using at most k layovers.

1 approaches·5 languages
easy1-D Dynamic Programming

Staircase Hopper

A courier counts the number of unique paths up a straight staircase while taking either 1 or 2 steps at a time.

2 approaches·5 languages
easy1-D Dynamic Programming

Treadmill Ticket Cheapskate

A gym chain charges a per-step entry fee; a budgeter wants the minimum total toll to pass through to the top floor using 1- or 2-step hops.

1 approaches·5 languages
medium1-D Dynamic Programming

Burglar Row Planner

A cat burglar picks a non-adjacent subset of houses on one street to maximize total loot without triggering alarms between neighbors.

2 approaches·5 languages
medium1-D Dynamic Programming

Circular Burglar Row

A cat burglar hits a round of neighboring houses (a ring); the first and last share an alarm wall.

1 approaches·5 languages
medium1-D Dynamic Programming

Longest Mirror Substring

A text editor highlights the longest contiguous slice of a string that reads identical forwards and backwards.

2 approaches·5 languages
medium1-D Dynamic Programming

Palindrome Counter

A linguistics tool counts every mirror-reading slice (overlapping allowed) in a text sample.

1 approaches·5 languages
medium1-D Dynamic Programming

Numeric Decoder

A spy maps 1→A, 2→B, …, 26→Z and counts the number of distinct letter sequences a digit string could decode to.

1 approaches·5 languages
medium1-D Dynamic Programming

Minimal Coin Changer

A cashier returns a specific amount using the fewest coins from an unlimited supply of given denominations.

2 approaches·5 languages
medium1-D Dynamic Programming

Max Product Streaker

A trader finds the contiguous day streak with the highest cumulative multiplicative return.

1 approaches·5 languages
medium1-D Dynamic Programming

Dictionary Breaker

A tokenizer checks whether a run-on string can be chopped into a sequence of dictionary words.

1 approaches·5 languages
medium1-D Dynamic Programming

Longest Ascending Trail

A biologist finds the longest run of ever-increasing specimen weights in a chronological log.

2 approaches·5 languages
medium1-D Dynamic Programming

Fair-Share Divider

A sibling arbiter checks whether a bag of marbles can be split into two piles of equal total value.

1 approaches·5 languages
medium2-D Dynamic Programming

Grid Path Counter

A delivery robot in an m×n warehouse walks only right or down; count all distinct corner-to-corner routes.

1 approaches·5 languages
medium2-D Dynamic Programming

Shared Script Finder

A DNA analyst finds the longest common ordered match between two strands (letters need not be contiguous).

2 approaches·5 languages
medium2-D Dynamic Programming

Cooldown Trader

A day trader must wait one day after any sale before buying again. Compute the maximum lifetime profit.

1 approaches·5 languages
medium2-D Dynamic Programming

Combo Coin Counter

An accountant counts the distinct combinations of unlimited-stock coin denominations that total an exact amount.

1 approaches·5 languages
medium2-D Dynamic Programming

Signed-Sum Picker

A kid assigns + or - to each marble in a bag; count the ways the result equals the target.

1 approaches·5 languages
medium2-D Dynamic Programming

Weave Checker

A merge-sort tool verifies whether a long string could have been produced by interleaving two shorter strings while preserving each one's order.

1 approaches·5 languages
hard2-D Dynamic Programming

Hillside Climber

A hiker finds the longest strictly ascending trail on an elevation grid moving one cell at a time (4-way).

1 approaches·5 languages
hard2-D Dynamic Programming

Subsequence Appearance Counter

A proofreader counts how many distinct ways a target word appears as a subsequence of a source text.

1 approaches·5 languages
medium2-D Dynamic Programming

Spell-Correction Minifier

A spell-check engine turns one word into another using the fewest single-character insert/delete/replace edits.

1 approaches·5 languages
hard2-D Dynamic Programming

Fireworks Bursting Planner

A pyrotechnician bursts a row of balloons in an order that maximizes coins = left·current·right (with implicit 1s outside).

1 approaches·5 languages
hard2-D Dynamic Programming

Pattern Shell Validator

A mini-regex engine supports '.' (any char) and '*' (zero or more of the previous char) and must match the whole input.

1 approaches·5 languages
mediumGreedy

Hot Streak Finder

A sports analyst finds the contiguous game stretch with the highest cumulative point total (positive and negative scores allowed).

2 approaches·5 languages
mediumGreedy

Last-Tile Reacher

A platformer character on tile 0 jumps up to nums[i] tiles from tile i. Can they reach the last tile?

1 approaches·5 languages
mediumGreedy

Minimum Hops

The platformer finds the FEWEST jumps to clear the stage, given per-tile max jump distances.

1 approaches·5 languages
mediumGreedy

Petrol Loop Picker

A tour organizer picks the only starting gas station from which the vehicle can complete the circular route.

1 approaches·5 languages
mediumGreedy

Card Flush Builder

A card player checks if their hand can be grouped into runs of consecutive values of a fixed length.

1 approaches·5 languages
mediumGreedy

Target Triple Composer

A sculpting robot picks any triplets whose coords ≤ target, taking element-wise max; can it hit the exact target triplet?

1 approaches·5 languages
mediumGreedy

Letter Zone Splitter

A labeler splits a text into the maximum number of contiguous zones so that each character appears in only one zone.

1 approaches·5 languages
mediumGreedy

Bracket Elasticity Check

A parser verifies that a mix of '(' , ')' and wildcard '*' (which can be '(' , ')' or empty) is a valid bracket string.

1 approaches·5 languages
mediumIntervals

Calendar Hole Patcher

A scheduler inserts a new busy block into a sorted calendar of non-overlapping blocks, merging any overlaps.

1 approaches·5 languages
mediumIntervals

Overlap Collapser

A calendar app collapses any overlapping meetings into single union intervals.

1 approaches·5 languages
mediumIntervals

Lecture Hall Pruner

An admin removes the FEWEST sessions from a conflict-ridden schedule so that the remainder is conflict-free.

1 approaches·5 languages
easyIntervals

Boardroom Conflict Check

A dispatcher checks whether one presenter can take all meetings back-to-back with no clash.

1 approaches·5 languages
mediumIntervals

Minimum Rooms Required

A conference organizer finds the minimum number of rooms to host all meetings without conflicts.

1 approaches·5 languages
hardIntervals

Shortest Covering Interval

For each query timestamp, pick the SHORTEST interval that covers it; emit -1 if none covers.

1 approaches·5 languages
mediumMath & Geometry

Portrait Rotator

A photo-viewer rotates an n×n image 90° clockwise in place without extra buffers.

1 approaches·5 languages
mediumMath & Geometry

Spiral Reader

A field surveyor walks a rectangular garden in a spiral from the top-left and records what they pass.

1 approaches·5 languages
mediumMath & Geometry

Zero-Wave Flooder

A quality inspector zeroes out every row and column that contains a defective cell, using constant extra space.

1 approaches·5 languages
easyMath & Geometry

Happy Number Dance

A puzzler iterates 'sum of squared digits' until the sequence hits 1 (happy) or revisits a value (unhappy loop).

2 approaches·5 languages
easyMath & Geometry

Odometer Rollover

An odometer adds 1 to a large non-negative integer stored as a digit array, propagating carries.

1 approaches·5 languages
mediumMath & Geometry

Rapid Exponent

A calculator computes x^n using binary exponentiation to achieve logarithmic cost.

2 approaches·5 languages
mediumMath & Geometry

Giant Number Multiplier

A big-integer library multiplies two arbitrarily long decimal strings without using built-in big-number types.

1 approaches·5 languages
mediumMath & Geometry

Collinear Square Detector

A geometry service maintains a growing cloud of points and, on demand, counts axis-aligned squares that include a query point as one corner.

1 approaches·5 languages
easyBit Manipulation

Lone Rune Finder

A monk sorts magical runes that always come in matching pairs — except one rogue rune. Find it.

2 approaches·5 languages
easyBit Manipulation

Hamming Weight

A network engineer counts the number of 1-bits in a 32-bit identifier (the Hamming weight).

2 approaches·5 languages
easyBit Manipulation

Popcount Table

A profiler builds a lookup table of popcount(i) for i in [0, n].

1 approaches·5 languages
easyBit Manipulation

Mirror-Bit Flipper

A network stack reverses the bits of a 32-bit value to normalize MSB/LSB ordering.

1 approaches·5 languages
easyBit Manipulation

Missing Spot Finder

A librarian has shelf slots 0..n but one is empty; find the missing slot number.

1 approaches·5 languages
mediumBit Manipulation

Carry-Chain Adder

An ALU designer implements integer addition using only XOR and AND gates (no '+' operator).

1 approaches·5 languages
mediumBit Manipulation

Integer Mirror

A sign reader reverses the digits of a signed 32-bit integer, returning 0 if the result would overflow.

1 approaches·5 languages