Developer-Student-Clubs-VSSUT-Burla / Master-PyAlgo

36 stars 84 forks source link

Unsort String #574

Closed Manasi2001 closed 3 years ago

Manasi2001 commented 3 years ago

Aim: The task is to sort the string S in the following manner:

  1. All sorted lowercase letters are ahead of uppercase letters.
  2. All sorted uppercase letters are ahead of digits.
  3. All sorted odd digits are ahead of sorted even digits.