/*Given an array of distinct integers. The task is to count all the triplets such that sum of two elements equals the third element. Input: The first line of input contains an integer T denoting the ...
Given an array A (distinct elements) of size N. Rearrange the elements of array in zig-zag fashion. The converted array should be in form a < b > c < d > e < f. The ...