Skip to content

Latest commit

 

History

History

simpleFun176ReverseLetter

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 

Simple Fun #176: Reverse Letter

7 kyu
[link to kata](https://www.codewars.com/kata/58b8c94b7df3f116eb00005b/train/javascript)
<br/>
[my solution]('./kata.js')
<br/>
<br/>
<h1 id="task">Task</h1>

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