This week: string sort.
1. Strings in Java
char data type
- char in C
8-bit integer, 256 characters, 7-bit ASCII code
- char in Java
16-bit Unicode
String data type
String: immutable sequence of characters
operations: lengthe, ith char, substring, concatenate
implementation: using a char[], maintain a length and an offset …