You are given an array consisting of N elements. You can perform two operations any no. of times. 1. Make any even element E = E/2. and 2. Make any odd element E = 2E.
You have to minimize the maximum absolute difference between any two elements
For ex- N=2 {1,2}
We can make 2--> 2/2 = 1 Thus answer = 0