3 ms·
Yup, --j. Also, the XOR version probably isn't worth the complexity.
by Locke1689 16y ago
Yup, --j.
Also, the XOR version probably isn't worth the complexity.
- visualphoenix 16y agoTrue in practice, but on a blackboard during an interview, it obviates the need to recode for the follow-up "now reverse the string in place" request.