反转字符串
反转字符串II
替换空格
翻转字符串里的单词
左旋转字符串
数组复制:java.lang.System.arraycopy() 方法的声明;
public static void arraycopy(Object src, int srcPos, Object dest, int destPos, int length)
参数
- src − 这是源数组。
- srcPos − 这是源数组中的起始位置。
- dest − 这是目标数组。
- destPos − 这是目标数据中的起始位置。
- length − 这是要复制的数组元素的数量。
位运算需要复习