Synechron interview question

Java programs. Reverse and duplicate strings with the help of collection