Google interview question

Target Sum from leet code