Skip to content
Better HN
Top
Best
Ask
Show
New
Jobs
Search
⌘K
0 points
Locke1689
15y ago
0 comments
Save
Share
Yup, --j.
Also, the XOR version probably isn't worth the complexity.
0 comments
1 comments · 1 top-level
top
newest
oldest
visualphoenix
15y ago
True 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.
j
/
k
navigate · click thread line to collapse