


The first line of input contains an integer ‘T’, denoting the number of test cases.
The first line of each test case contains an integer ‘N’, denoting the length of the array.
For each test case, print the minimum number of operations to make all the elements of the array equal.
Output for each test case is printed on a separate line.
You do not need to print anything. It has already been taken care of. Just implement the given function.
1 <= T <= 1000
1 <= N <= 10^9
Time Limit: 1 sec
Can you do this in constant time and space?
Co-Prime
Fizzbuzz Problem
Print Fibonacci Series
Print Fibonacci Series
Print Fibonacci Series
Print Fibonacci Series
Print Fibonacci Series
Print Fibonacci Series
First Digit One
Special Digit Numbers