- int length = str.length();
- char[] cArr = new char[length];
- length--;
- int i = length;
- while (length >= 0) {
- int i2 = i - 1;
- cArr[i] = (char) (str.charAt(i) ^ 43);
- if (i2 < 0) {
- break;
- }
- length = i2 - 1;
- cArr[i2] = (char) (str.charAt(i2) ^ 5);
- i = length;
- }
- }
Untitled
Posted by Anonymous on Sat 11th Mar 2017 12:21
raw | new post
Submit a correction or amendment below (click here to make a fresh posting)
After submitting an amendment, you'll be able to view the differences between the old and new posts easily.