Deloitte Interview Question

DSA question was based on Array where I had to reverse each element and print the maximum difference with original numbers.