reverseString & findMinValue