lexicographically next smaller code example Example: lexicographically smaller lexicographically smaller = Whatever comes first in the alphabet