Company: Tekion_13july
Difficulty: medium
Complete the function signalSeparation in the editor below. Function Parameters string testcases[t] Each string represents one test case. Format: firstSignal secondSignal Returns long[][] For each test case return: [newFirst, newSecond] where: newFirst AND newSecond = 0 the total adjustment cost is minimized The total adjustment cost is defined as |firstSignal - newFirst| + |secondSignal - newSecond| . Constraints 1 ≤ t ≤ 10^4 0 ≤ firstSignal < 2^30 0 ≤ secondSignal < 2^30 Input Format For Custom Testing The first line contains an integer t, the number of test cases. Each of the next t lines contains two space-separated integers, firstSignal and secondSignal , representing the two original signal values for that test case. Sample Input 0 7 0 0 1 1 3 6 7 11 4 4 123 321 1073741823 1073741822 Sample Output 0 0 0 2 1 3 8 6 9 4 3 128 321 1073741824 1073741822 Explanation Test Case 1 firstSignal = 0 secondSignal = 0 Choosing 0 0 gives: 0 AND 0 = 0 total cost = 0 which is optimal. Test