A=B
Not enough ratings
Word sorting
   
Award
Favorite
Favorited
Unfavorite
Tags: level
File Size
Posted
51.209 KB
28 Mar, 2022 @ 7:21pm
1 Change Note ( view )

Subscribe to download
Word sorting

Description
Input: Two strings of "a", "b" and "c".
Output: The string which ranks higher in the lexicographic order. If the two strings are the same, any of them will work.
Constraint: 1 <= Input length <= 4