Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
segmondy
on Dec 13, 2022
|
parent
|
context
|
favorite
| on:
A neat XOR trick
The article started with 3 loops, took it down to 2 then one. Why are you talking about 2 loops?
dukoid
on Dec 13, 2022
[–]
The article took it down to 2 by adding an extra hashtable. It's possible to go down to 2 without using an extra data structure.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: