Kore.ai Interview Question

Given 3 arrays find triplets for given sum