Challenge: Target Sum

Question: Find two indexes from a list whose values are summed up to a predefined target number. Input: A list of integers and a target number. Output: another list containing two (or a pair of) indexes of the input list whose values summed up to the target number. If such pair does not exist, return … Read more