Given an array of distinct integers (non repeating) and an integer representing a target sum, write a function that returns an array of all triplets in the input array that sum up to the target sum.
- if no three numbers sum up to the target sum, the function should return an empty array.