Interview practice
that feels real.
Think out loud. Find your answer. Try again.
Practice behavioral answers aloud and get AI feedback you can put to work. Free individual practice now; full interviews coming later.
Find two numbers in an array that add up to a target.
def two_sum(nums, target): seen = {} for i, number in enumerate(nums): complement = target - number if complement in seen: return [seen[complement], i] seen[number] = i return []Explain the tradeoff, not just the solution.
Explore the tabs, or replay the sample walkthrough.