Blume Global interview question

1. write a program to get outpout as: input: xyz12@gmail.com output: moc.liamh@21zyx

Interview Answers

Anonymous

16 Mar 2021

Use StringBuilder for reversal and then put inside a string and return the String. Plain and simple.

Anonymous

12 Aug 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