3 ms·
But then people say it's too verbose. Maybe it needs to be: A.s(arr)
by re-thc 3y ago
But then people say it's too verbose. Maybe it needs to be:
A.s(arr)
- tialaramex 3y agoarr.sort() or sort(arr) seem reasonable to me
- kaba0 3y agoYou can static import Arrays.sort, so the second option could work.