Interview question asked to Machine Learning Engineers interviewing at Splunk, Palantir Technologies, Calm and other companies. Original question asked: I'd like you to create a function that takes an array of integers and a target value and returns all the triplets whose sum equals the target value..