Solve Array Triplets

Find the number triplets of disjoint subsets of the array with the same sum. Solving code challenges on HackerRank is one of the best ways to prepare for programming interviews.