Problem bank
Problem 71 of 333EasyCodingP071
Two-sum
Given an unsorted array of integers and a target , return two indices whose values sum to , or null if none exist. time.
Check your answer and see the solution with a free account
Every problem on Quant Engine is free, with a hint and a full worked solution. Making an account takes 30 seconds and no card. Then you can write and check your answers, see the solutions, and track what you have solved.