Skip to content

Latest commit

 

History

History

simple-fun-number-176-reverse-letter

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

Given a string str, reverse it omitting all non-alphabetic characters.

Example

For str = "krishan", the output should be "nahsirk".

For str = "ultr53o?n", the output should be "nortlu".

Input/Output

  • [input] string str

A string consists of lowercase latin letters, digits and symbols.

  • [output] a string