Skip to content

Files

Latest commit

2e108b8 · Jul 20, 2023

History

History
This branch is 4 commits ahead of, 16 commits behind igorwojda/kotlin-coding-challenges:main.

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
Jul 20, 2023
Feb 7, 2023
Feb 7, 2023

Reverse Int

Instructions

Given an integer n, return an integer that is the reverse ordering of digits.

Challenge | Solution

Examples

reverseInt(15) // 51

reverseInt(981) // 189

reverseInt(500) // 5

reverseInt(-15) // -51

reverseInt(-90) // -9