IBM Interview Question

Find a triplet given sum