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

..
 
 
 
 
  • Completed at: 2023-10-25T04:05:57.126Z

  • Completed languages: java

  • Tags: Fundamentals

  • Rank: 7 kyu

Description

Task

Given a string str, reverse it and omit 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