if X=(1,2,3) and Y=(2,4) find all possible ordered pairs
Answers
Answered by
0
Answer it is an example try by using this method......
Input: X[] = {2, 1, 6}, Y = {1, 5}Output: 3
Explanation: There are total 3 pairs where pow(x, y) is greaterthan pow(y, x) Pairs are (2, 1), (2, 5)
and (6, 1)
Similar questions