Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

Reverse string

Instructions

Given a string implement a function which returns a reversed copy of that string.

Challenge | Solution

Limitations:

Don't use Kotlin String.reverse function

Examples

reverse('apple') == 'leppa'

reverse('hello') == 'olleh'

reverse('Greetings!') == '!sgniteerG'