1. Two Sum
Return indices of the two numbers that add up to target.
PRACTICE
Train on the same timed coding and production missions employers assign — TypeScript, JavaScript, Python, Go, Rust, Java. Search the full bank (4,026 coding problems); public checks first, hidden harnesses decide Accepted.
Freq: Illustrative frequency. Acc: live when ≥3 hidden submits, otherwise est..
Showing 40 of 80 matching · 4,026 in full library
Return indices of the two numbers that add up to target.
Length of the longest substring without repeating characters.
Determine if a string of brackets is valid.
Tree serialize / path / LCA-style variant #1.
Bit-twiddling variant #1.
Bit-twiddling variant #52.
Merkle/vesting/finality logic #35.
Merkle/vesting/finality logic #86.
Energy/carbon calculation #35.
Energy/carbon calculation #86.
IAM/policy evaluation variant #18.
IAM/policy evaluation variant #69.
Concurrency / idempotency puzzle #18.
Storage/tx engine micro-challenge #1.
Storage/tx engine micro-challenge #52.
Token transform / contrast logic #18.
Token transform / contrast logic #69.
Parsing / diff / analysis micro-challenge #18.
Parsing / diff / analysis micro-challenge #69.
DP formulation variant #1.
Grading/roster logic #35.
Grading/roster logic #86.
Bucketing / metric window logic #1.
Bucketing / metric window logic #52.
Money/ledger logic variant #35.
Game simulation / matchmaking logic #1.
Game simulation / matchmaking logic #52.
Clinical/scheduling privacy logic #18.
Merge / schedule intervals variant #18.
Device protocol / buffer logic #35.
Routing/scheduling micro-challenge #103.
Routing/scheduling micro-challenge #52.
Feature/eval/serving logic #18.
Feature/eval/serving logic #69.
Offline sync / merge variant #35.
Cache key / LB / limit logic #35.
Cache key / LB / limit logic #86.
Find index pairs that satisfy a sum/constraint variant #1.
Privacy/redaction logic variant #1.
Flake/contract/selection logic #1.
| ★ | # | Title | Difficulty | Freq* | Acc* | Time | Open |
|---|---|---|---|---|---|---|---|
| 1 | 1. Two SumEditorial Return indices of the two numbers that add up to target. | Easy | 98%Illustrative | 49%est. | 20m | ||
| 2 | 21. Longest Substring Without Repeating Characters Length of the longest substring without repeating characters. | Medium | 93%Illustrative | 39%est. | 30m | ||
| 3 | 2. Valid Parentheses Determine if a string of brackets is valid. | Easy | 91%Illustrative | 53%est. | 15m | ||
| 4 | Binary Tree Variants #1Editorial Tree serialize / path / LCA-style variant #1. | Easy | 91%Illustrative | 63%est. | 15m | ||
| 5 | Bit Manipulation Variants #1Editorial Bit-twiddling variant #1. | Easy | 91%Illustrative | 61%est. | 15m | ||
| 6 | Bit Manipulation Variants #52Editorial Bit-twiddling variant #52. | Easy | 91%Illustrative | 62%est. | 15m | ||
| 7 | Blockchain Logic Variants #35 Merkle/vesting/finality logic #35. | Easy | 91%Illustrative | 64%est. | 15m | ||
| 8 | Blockchain Logic Variants #86 Merkle/vesting/finality logic #86. | Easy | 91%Illustrative | 62%est. | 15m | ||
| 9 | Climate / Energy Logic Variants #35 Energy/carbon calculation #35. | Easy | 91%Illustrative | 65%est. | 15m | ||
| 10 | Climate / Energy Logic Variants #86 Energy/carbon calculation #86. | Easy | 91%Illustrative | 63%est. | 15m | ||
| 11 | Cloud Security Logic Variants #18 IAM/policy evaluation variant #18. | Easy | 91%Illustrative | 69%est. | 15m | ||
| 12 | Cloud Security Logic Variants #69 IAM/policy evaluation variant #69. | Easy | 91%Illustrative | 67%est. | 15m | ||
| 13 | Concurrency Puzzle Variants #18Editorial Concurrency / idempotency puzzle #18. | Easy | 91%Illustrative | 69%est. | 15m | ||
| 14 | Database Engine Logic Variants #1 Storage/tx engine micro-challenge #1. | Easy | 91%Illustrative | 70%est. | 15m | ||
| 15 | Database Engine Logic Variants #52 Storage/tx engine micro-challenge #52. | Easy | 91%Illustrative | 62%est. | 15m | ||
| 16 | Design Token Logic Variants #18 Token transform / contrast logic #18. | Easy | 91%Illustrative | 67%est. | 15m | ||
| 17 | Design Token Logic Variants #69 Token transform / contrast logic #69. | Easy | 91%Illustrative | 65%est. | 15m | ||
| 18 | DevTools Logic Variants #18 Parsing / diff / analysis micro-challenge #18. | Easy | 91%Illustrative | 69%est. | 15m | ||
| 19 | DevTools Logic Variants #69 Parsing / diff / analysis micro-challenge #69. | Easy | 91%Illustrative | 67%est. | 15m | ||
| 20 | Dynamic Programming Variants #1Editorial DP formulation variant #1. | Easy | 91%Illustrative | 68%est. | 15m | ||
| 21 | EdTech Logic Variants #35 Grading/roster logic #35. | Easy | 91%Illustrative | 64%est. | 15m | ||
| 22 | EdTech Logic Variants #86 Grading/roster logic #86. | Easy | 91%Illustrative | 62%est. | 15m | ||
| 23 | Experiment Logic Variants #1 Bucketing / metric window logic #1. | Easy | 91%Illustrative | 68%est. | 15m | ||
| 24 | Experiment Logic Variants #52 Bucketing / metric window logic #52. | Easy | 91%Illustrative | 67%est. | 15m | ||
| 25 | FinTech Logic Variants #35 Money/ledger logic variant #35. | Easy | 91%Illustrative | 69%est. | 15m | ||
| 26 | Game Sim Logic Variants #1 Game simulation / matchmaking logic #1. | Easy | 91%Illustrative | 68%est. | 15m | ||
| 27 | Game Sim Logic Variants #52 Game simulation / matchmaking logic #52. | Easy | 91%Illustrative | 67%est. | 15m | ||
| 28 | Healthcare Logic Variants #18 Clinical/scheduling privacy logic #18. | Easy | 91%Illustrative | 69%est. | 15m | ||
| 29 | Interval Scheduling Variants #18Editorial Merge / schedule intervals variant #18. | Easy | 91%Illustrative | 61%est. | 15m | ||
| 30 | IoT / Embedded Logic Variants #35 Device protocol / buffer logic #35. | Easy | 91%Illustrative | 63%est. | 15m | ||
| 31 | Logistics Logic Variants #103 Routing/scheduling micro-challenge #103. | Easy | 91%Illustrative | 71%est. | 15m | ||
| 32 | Logistics Logic Variants #52 Routing/scheduling micro-challenge #52. | Easy | 91%Illustrative | 63%est. | 15m | ||
| 33 | MLOps Logic Variants #18 Feature/eval/serving logic #18. | Easy | 91%Illustrative | 69%est. | 15m | ||
| 34 | MLOps Logic Variants #69 Feature/eval/serving logic #69. | Easy | 91%Illustrative | 67%est. | 15m | ||
| 35 | Mobile Sync Logic Variants #35Editorial Offline sync / merge variant #35. | Easy | 91%Illustrative | 62%est. | 15m | ||
| 36 | Network / Edge Logic Variants #35 Cache key / LB / limit logic #35. | Easy | 91%Illustrative | 69%est. | 15m | ||
| 37 | Network / Edge Logic Variants #86 Cache key / LB / limit logic #86. | Easy | 91%Illustrative | 67%est. | 15m | ||
| 38 | Pair Sum Variants #1Editorial Find index pairs that satisfy a sum/constraint variant #1. | Easy | 91%Illustrative | 61%est. | 15m | ||
| 39 | Privacy Logic Variants #1Editorial Privacy/redaction logic variant #1. | Easy | 91%Illustrative | 66%est. | 15m | ||
| 40 | QA Reliability Logic Variants #1 Flake/contract/selection logic #1. | Easy | 91%Illustrative | 67%est. | 15m |