Reverse A String

Note

Remember: Strings in Java are immutable

Java

Using loop

With StingBuffer and reverse()

Python

Using Slicing

Using converting to list and reversed()