Intuit Interview Question

Write a Java method that manipulates a string a certain way.