-
Tell us About Yourself
-
How Do You Handle Stress and Pressure?
1). Given an unsorted integer array, find a pair with the given sum in it. SAMPLE INPUT: arr = [8, 7, 2, 5, 3, 1] sum = 10
OUTPUT: pair found (8, 2 )
2). Given a square matrix, calculate the absolute difference between the sums of its diagonals.