10 ms·
Why wouldn't it? A xor A = 0. A xor 0 = A. That should work like a regular circularly linked list or am I missing something? edit Doh, now I understand. If
by tresta 14y ago
Why wouldn't it?
A xor A = 0.
A xor 0 = A.
That should work like a regular circularly linked list or am I missing something?
edit
Doh, now I understand. If this was allowed it wouldn't be possible to have a one-node non-circular list.