Find a question to practise. Browse by page, or open Practice to filter tasks by round, role and topic.
Coding (Algo) · Hard · 40 min
Sorting · Hard A geometry tool outlines the smallest convex region containing a set of recorded locations. Its export lists only corner vertices, not duplicate records or intermediate points.
View taskCoding (Algo) · Hard · 50 min
Sorting · Hard A spatial inspection tool needs the minimum separation between recorded locations. Two different records can have exactly the same coordinates and must then produce zero.
View taskCoding (Algo) · Easy · 25 min
Sorting · Easy A diagnostics report contains unsorted integer measurements. It needs the smallest difference between any two observations. The same numeric measurement at two different.
View taskCoding (Algo) · Easy · 25 min
Sorting · Easy A dashboard needs a short list of the largest observed measurement values. Duplicate observations should not fill several places, and the output must be ordered from largest.
View taskCoding (Algo) · Easy · 20 min
Sorting · Easy A text inspection panel displays each character once and ranks the most frequent characters first. Its output must remain identical across servers with different language.
View taskCoding (Algo) · Easy · 25 min
Sorting · Easy A report ranks records by numeric value but must attach each rank back to the original record. Equal values receive consecutive ranks in original arrival order. Shared.
View taskCoding (Algo) · Medium · 40 min
Sorting · Medium A client merges API feed records before slicing a page. Retries may repeat IDs with newer timestamps. Deduplicate by ID, keep the latest timestamp, sort newest first then.
View taskCoding (Algo) · Easy · 15 min
Stable ordering · Easy A batch of request timings is sampled in arrival order. The dashboard needs the earliest request with the worst latency. Return the index of the largest latency.
View taskCoding (Algo) · Easy · 25 min
Stack · Easy A small editor checks bracket structure before offering an expression preview. Input contains only delimiters, not JavaScript source. Return whether (), [] and {} are correctly.
View taskCoding (Algo) · Easy · 25 min
Stack · Easy A gesture log contains reversible toggles: two adjacent equal actions cancel. Cancellations can expose another cancellable pair. Return the fully reduced action string. Input.
View taskCoding (Algo) · Easy · 25 min
Stack · Easy A virtual-file browser receives absolute paths with repeated separators and relative navigation segments. It needs a stable display path. This is lexical normalization only: no.
View taskCoding (Algo) · Medium · 35 min
Stack · Medium A token-cleanup rule removes exactly k consecutive equal tokens at a time. Removing a group can bring matching tokens together and trigger another removal. The cleanup must.
View taskCoding (Algo) · Medium · 35 min
Stack · Medium A deterministic simulator stores right-moving positive tokens and left-moving negative tokens in one ordered row. Only adjacent tokens moving toward each other interact. Zero.
View taskCoding (Algo) · Easy · 20 min
Stack · Easy An expression editor checks delimiter structure before enabling a preview. The caller has already removed all non-bracket text. Your function only checks pairing and nesting; it.
View taskCoding (Algo) · Easy · 25 min
Stream processing · Easy A text diagnostic stores consecutive repeats as character-count pairs. It preserves the exact original text order so the text can be reconstructed. Equal characters.
View taskCoding (Algo) · Hard · 75 min
Strongly connected components · Hard A plugin loader needs to show mutually dependent plugins as groups before planning a migration. Partition a directed graph into strongly connected.
View taskCoding (Algo) · Hard · 55 min
Suffix automata · Hard A text-index experiment measures how many different contiguous fragments a string contains. Several ranges can spell the same fragment and should count only once. The.
View taskCoding (Algo) · Medium · 35 min
Sweep line · Medium An async job service knows the half-open execution intervals of accepted jobs. It needs enough workers for the busiest instant. Return the maximum number of.
View taskCoding (Algo) · Medium · 35 min
Topological sort · Medium A course scheduler receives prerequisites that must be completed before another course. It needs to know whether any valid completion order exists. The output is.
View taskCoding (Algo) · Medium · 45 min
Topological sort · Medium A release orchestrator can start independent services together. Each service has a duration and must wait for all prerequisites. Return the earliest total.
View taskCoding (Algo) · Medium · 45 min
Topological sort · Medium Some form fields are computed from earlier fields. A validation engine needs a deterministic evaluation order or a clear cycle signal. Return the lexicographically.
View taskCoding (Algo) · Medium · 40 min
Topological sort · Medium A build scheduler has a complete batch of jobs and directed prerequisites. Many valid schedules may exist, but reproducibility requires the lexicographically.
View taskCoding (Algo) · Medium · 40 min
Topological sort · Medium Application modules initialize in dependency batches. Modules in the same batch may start together, but none may depend on another in that batch. Return earliest.
View taskCoding (Algo) · Easy · 20 min
Tree traversal · Easy An inspection tool receives a saved binary hierarchy and a selection mask. It must report how many selected nodes actually belong to the visible tree. Slots left behind.
View taskCoding (Algo) · Medium · 25 min
Tree traversal · Medium A tree inspector lets an operator select two entries that can share the same displayed value. To highlight their smallest shared branch, it needs a stable node.
View taskCoding (Algo) · Easy · 20 min
Tree traversal · Easy A tree viewer allocates one row of controls for each depth. It needs the largest number of actual nodes on a single row. Missing heap slots are not controls, so.
View taskCoding (Algo) · Medium · 30 min
Tree traversal · Medium A hierarchy inspection tool measures the longest route between any two reachable nodes. A route can move up to a shared ancestor and down another branch. The longest.
View taskCoding (Algo) · Easy · 25 min
Tree traversal · Easy A tree inspector exports selected entries in structural left-root-right order. The hierarchy is not necessarily sorted by value and duplicate values are valid..
View taskCoding (Algo) · Easy · 25 min
Tree traversal · Easy A hierarchy dashboard displays one measurement total for each visible depth. Selecting measurements must not renumber or remove structural levels. A level whose nodes.
View taskCoding (Algo) · Easy · 20 min
Tree traversal · Easy A reporting tool totals signed measurements stored in a binary hierarchy. Users can select only some nodes without removing their children from the hierarchy. Negative.
View taskCoding (Algo) · Hard · 65 min
Trie · Hard A search service serves many prefix queries over a fixed catalog. Ranking is by popularity, with deterministic word ordering on ties. Precompute an index returning the best three.
View taskCoding (Algo) · Medium · 35 min
Two pointers · Medium A batch planner must choose exactly three distinct entries with a combined amount as close as possible to a target. If two different totals are equally close, the.
View taskCoding (Algo) · Medium · 30 min
Two pointers · Medium A batch planner chooses two different entries whose combined size is as close as possible to a requested total. The entries can have signed adjustments and are not.
View taskCoding (Algo) · Medium · 40 min
Two pointers · Medium A capacity report counts pairs of observed loads that could share a fixed budget. Each observation is distinct even when its value repeats. The report needs the number.
View taskCoding (Algo) · Medium · 30 min
Two pointers · Medium A debugger represents a linked chain as indexes into a next-pointer table. Following the head should eventually reach null. Corrupt pointers can instead loop forever.
View taskCoding (Algo) · Medium · 40 min
Two pointers · Medium A geometric planning tool models vertical supports one unit apart. Choosing two supports defines a container whose usable height is limited by the shorter support..
View taskCoding (Algo) · Medium · 35 min
Two pointers · Medium A mobile client and server each provide record revisions sorted by ID. The merged snapshot must keep the newest revision for shared IDs. Merge both lists without.
View taskCoding (Platform) · Medium · 50 min
angular · Medium · autosave state machine An editor saves drafts in the background. A slow confirmation for an older revision currently marks the latest text as saved, and an older failure.
View taskCoding (Platform) · Easy · 35 min
angular · Easy · derived filter state A catalog screen receives available facet values after every search. The current state boundary keeps selections that no longer exist, so the UI.
View taskCoding (Platform) · Hard · 70 min
angular · Hard · optimistic reconciliation A board supports several rapid card moves. When one request fails, the current implementation restores the entire old board and erases later.
View taskCoding (Platform) · Medium · 50 min
angular · Medium · request ownership A search screen can request several pages for one query while the user changes the query. Late pages from the previous search currently append to the new.
View taskCoding (Platform) · Hard · 70 min
angular · Hard · cache lifecycle Several panels subscribe to the same query. The current cache aborts the shared request when any panel unmounts and commits a late response after the final.
View taskCoding (Platform) · Easy · 35 min
angular · Easy · accessible sorting A results table can be sorted by score or name. Equal values currently jump between renders and the live-region summary describes the requested direction.
View taskCoding (Platform) · Easy · 35 min
express + react · Easy · form contract A browser and API disagree at the end-to-end facet contract boundary. A catalog screen receives available facet values after every search. The current.
View taskCoding (Platform) · Hard · 70 min
express + react · Hard · offline sync A browser and API disagree at the optimistic workflow journal boundary. A board supports several rapid card moves. When one request fails, the current.
View taskCoding (Platform) · Medium · 50 min
express + react · Medium · request ownership A browser and API disagree at the paged flow request ownership boundary. A search screen can request several pages for one query while the user.
View taskCoding (Platform) · Medium · 50 min
express + react · Medium · autosave state machine A browser and API disagree at the revision-safe autosave api boundary. An editor saves drafts in the background. A slow confirmation for an.
View taskCoding (Platform) · Hard · 70 min
express + react · Hard · cache lifecycle A browser and API disagree at the shared query lifecycle boundary. Several panels subscribe to the same query. The current cache aborts the shared.
View task