Is there any facility in the standard Java libraries that, given a CharSequence, produces the reverse in O(1) time?
I guess this is \"easy\" to implement, just wond
for (count = str.length()-1; count >= 0; count--) { tempStr = tempStr.concat(Character.toString(origStr.charAt(count))); }