Synechron Interview Question

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