Skip to main content
Python Junior (0–2 yrs) Coding Very frequent Python Two Sum hash map arrays LeetCode

Two Sum in Python — return indices of two numbers that add to a target

py-jun-005

Your answer

Answer as you would in a real interview — explain your thinking, not just the conclusion.

Log in to save progress.