Intrepid Pursuits interview question

Simple ones such as Invert a string and then invert a string in-place, valid parentheses etc.