Skip to content

Files

Latest commit

3f44c65 · Feb 7, 2023

History

History
This branch is 100 commits behind igorwojda/kotlin-coding-challenges:main.

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
Feb 7, 2023
Feb 7, 2023
Feb 7, 2023

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'