Given an array A[] of N integers. Check if there exist 2 distinct sub-sequences X and Y of the given array, such that the sum… Read More
The post Check if Array has 2 distinct subsequences where smaller one has higher Sum appeared first on GeeksforGeeks.