Problem Statement
Refer to the problem statement given @ Hackerrank Super Reduced String
Code
This problem is solved through Recursion but I will be working on a better solution soon. However this code pass all the…
Given an input string, reverse it in place and retain the whitespace positions as is.
For example: “xm l” =>”lm x”
Another example could be “xml json” => “nos jlmx”
Given a string, determine if it is a palindrome, considering only alphanumeric characters and ignoring cases.
For example,"A man, a plan, a canal: Panama" is a palindrome.
"A man, a plan, a canal: Panama"