StringReverse seven kinds of writing string reverse:
1./* recursive implementation: the string is divided into two series, each time will reverse the results written on the front right part of substring, left reverse. */;
2./* reverse */read out each character;
3./* turn a string into an array, and then reverse read */;
4. calling Java API;
5./* converts the string to an array of characters, and characters and the latter part of the second half for Exchange */;
6. the XOR of characters processed as a binary, set two pointer, and after a walk, a walk from back to front, the replacement indicator characters. Replacement parts: first sentence, str[begin] is similar to temp, second sentence, str[begin] values are assigned to str[end], third sentence, str[end] assign to str[begin];
7. to turn the string into a character array, then onto the stack, and pop stack