Reverse a string or array
Problem Statement
You have given a string A. Your task is to reverse that string.
Example
input: Developersway
output: yawsrepoleveD
Approaches
Approach 1
Create an empty string B.
Then iterate over string A from its end to the start for each of ...
developersway.live2 min read