CSES Solutions - Sum of Four Values
You are given an array arr[] of N integers, and your task is to find four values (at distinct positions) whose sum is X. Note: If there are multiple answers, print any one of them. Examples: Input: N = 8, X = 15, arr[] = {3, 2, 5, 8, 1, 3, 2, 3}Output: 2 4 6 7Explanation: Elements at position 2, 4,