The Question
Coding
Two Sum
Given an integer array and a target value, return the indices of the two numbers that add up to the target. Each input has exactly one solution and the same element may not be used twice.
Python
HashMap
January 20, 2026