Meta interview question

Target sum You are given an integer array nums and an integer target