3 ms·
You can always swap the current element with the last element and then delete the last element in an unordered list.
by imtringued 10y ago
You can always swap the current element with the last element and then delete the last element in an unordered list.
- deleted 10y ago[deleted]
- ivan_gammel 10y agojava.util.List is ordered by definition (first sentence in Javadoc, if you want to verify).