Skip to content

Latest commit

 

History

History

reverse

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 Ruby String.reverse function

Examples

reverse_int('apple') == 'leppa'

reverse_int('hello') == 'olleh'

reverse_int('Greetings!') == '!sgniteerG'