1.

What will be the lexicographical order of combinations of 2 elements each formed from the array arr={1,2,3}?

A. {{2,1},{3,2},{3,1}}
B. {{1,2},{2,3},{1,3}}
C. {{1,2},{1,3},{2,3}}
D. {{2,1},{3,1},{3,2}}
Answer» D. {{2,1},{3,1},{3,2}}


Discussion

No Comment Found