RingCentral interview question

String manipulation questions and Puzzles