Hacker News new | ask | show | jobs
by kangnkodos 2354 days ago
Take all the possible answers with duplicates removed, and return the first one in alphabetical order.

input: "bcabc"

output: "abc"