Why do we have functions that reverse strings and why would you want to reverse it? In what situations would you use it?
Thank you
Why do we have functions that reverse strings and why would you want to reverse it? In what situations would you use it?
Thank you
To find words that rhymes. To enable indexing when searching with a wildcard in front of a word. The letters in the string might represent items in a queue that needs to be reversed. Some search and replace operations are easier if the string is reversed first.