how to sort this output string lexographically and print the largest element.
Recursion Dictionary Order (Larger)
-
first check the condition whether input>in
then only insert it into set -
also print string in new line
Modified code
how to sort this output string lexographically and print the largest element.
first check the condition whether input>in
then only insert it into set
also print string in new line
Modified code