sum of four values to get target value sum of three values to match target sum positive elements tree set for remove duplicates and to arrange values in ascending trim two NUmbers whose sum = target ...