1. write a program to get outpout as:
input: xyz12@gmail.com
output: moc.liamh@21zyx
Interview Answers
Anonymous
Mar 16, 2021
Use StringBuilder for reversal and then put inside a string and return the String. Plain and simple.
Anonymous
Aug 12, 2020
I have answered this very efficently also demonstrated this through as rest end point input and output. Just we need to recognize special symbols and put the reversed substrings before them in finaloutput by iterating in a single loop