Added additional solution to sum_target trying to achieve O(n).