You are viewing a single comment's thread. Return to all comments →
mate.. you can just use A.sort(Comparator.naturalOrder()); or Collections.sort(A)
A.sort(Comparator.naturalOrder());
Collections.sort(A)
Seems like cookies are disabled on this browser, please enable them to open this website
Permuting Two Arrays
You are viewing a single comment's thread. Return to all comments →
mate.. you can just use
A.sort(Comparator.naturalOrder());
orCollections.sort(A)