https://medium.com/leetsolve/c-solution-to-coding-challenge-1354-construct-target-array-with-multiple-sums-c63308184f2