-
Completed at: 2023-10-25T04:05:57.126Z
-
Completed languages: java
-
Tags: Fundamentals
-
Rank: 7 kyu
Given a string str
, reverse it and omit all non-alphabetic characters.
For str = "krishan"
, the output should be "nahsirk"
.
For str = "ultr53o?n"
, the output should be "nortlu"
.
[input]
stringstr
A string consists of lowercase latin letters, digits and symbols.
[output]
a string