โ† Media.net questions

Remove duplicate letters to get smallest lexicographical string

Filed under Media.net

The question

Given a string containing only lowercase letters, remove duplicate letters so every letter appears once, such that the resulting string is the smallest in lexicographical order.

No write-up yet. Related questions below have one.

Related Media.net questions

Collected from public candidate posts and coding forums. Updated Nov 2026.