Daily Challenge (245 Part Series)
Write a function that takes an array of integers and a target number.
The function should find two different integers in the array that give the target value when added together. Return the indices in a tuple [e.g. (index1, index2)]. Some tests will have multiple solutions.
Want to propose a challenge idea for a future post? Email firstname.lastname@example.org with your suggestions!
Claim your page on DEV before someone else does
Level up every day