Sorted and Unique

Easy · Text Processing · sort · uniq

Problem

names.txt has one name per line, unsorted, with repeats.

Print each distinct name once, in alphabetical order.

Approaches

Related problems

Start free on Cariara · Coding problems · System design studio

Coding practice is in SolveMe.Open