News for hackers. Stuff that matters.
Re:Ask HN: Joining Big Tech in One’s 40s by grahamburger on Tuesday January 07, 2020 @11:42PM (#21988419)
If you remove the duplicates from the string:

CACB

You can get either CAB or ACB. If you were to order all of the possible results of removing duplicates (in this case only two, but obviously many more for more complex strings) and order them alphabetically, then take the lowest one, that would be the right answer.

There are no comments on this comment yet.