logoalt Hacker News

stinkbeetletoday at 7:34 AM0 repliesview on HN

You can use this same property of xor to make a double-linked list using just one pointer per item, which is xor of the previous and next item addresses!