Iterate through list of integers, add each index to its neighbor and check if the target variable is equal to the sum of any of the indecies.
willcaton2350 / two_sum_algo Goto Github PK
View Code? Open in Web Editor NEWIterate through list of integers, add each index to its neighbor and check if the target variable is equal to the sum of any of the indecies.