Reverse a string
EasyLet's say you're given a string. Write a function that returns the reversed version of the string.
For example, passing
bitcoin
in to your function should return nioctib
.Try it first
Solution
6 Essential Strings Coding Interview Problems
Master Strings by trying the coding challenges below.
- 1.Reverse StringEasy
- 2.AnagramEasy
- 3.Reverse wordsMedium
- 4.String matchMedium
- 5.CompressionMedium
- 6.One edit awayHard