

Branching includes if-else statements, the ternary operator, or switch-case statements. Therefore you should not use any of the above approaches to solving the problem.
The first line contains a single integer ‘T’ representing the number of test cases.
The only line of each test case contains two space-separated integers 'A' and 'B' representing two integers whose minimum and the maximum you need to return.
For each test case return the minimum and maximum of two numbers.
You do not need to print anything; it has already been taken care of. Just implement the function.
1 <= T <= 1000
1 <= 'A' <= 10^9
1 <= 'B' <= 10^9
Time Limit: 1sec
Let us assume ‘b’ is minimum and ‘a’ is maximum among ‘a’ and ‘b’.( ‘a’ < ‘b’ ) is the comparison we will be using. We will calculate minimum and maximum as follows:
Let us assume ‘b’ is minimum and ‘a’ is maximum among ‘a’ and ‘b’.( ‘a’ - ‘b’ ) is non-negative if our assumption is true otherwise negative. We will calculate minimum and maximum as follows: