problem linK:
Discuss: just simply check the array twice. if any of them are ordered then print ordered.otherwise print unordered.
try yourself before see the code
Discuss: just simply check the array twice. if any of them are ordered then print ordered.otherwise print unordered.
try yourself before see the code