[algogeeks] Xor Linked lists

2011-11-24 Thread kumar raja
http://en.wikipedia.org/wiki/XOR_linked_list In this link i have seen about Xor linked list ,but my doubt is how will u perform xor on Address of nodes. I have tried to perform xor on addresses of two values ,so how is it possible to use that technique. Also tell me whether there are any extra

Re: [algogeeks] Xor Linked lists

2011-11-24 Thread rahul sharma
address can be xored easily with xor operator... http://www.geeksforgeeks.org/archives/12367 On Thu, Nov 24, 2011 at 7:37 PM, kumar raja rajkumar.cs...@gmail.comwrote: http://en.wikipedia.org/wiki/XOR_linked_list In this link i have seen about Xor linked list ,but my doubt is how will u

Re: [algogeeks] Xor Linked lists

2011-11-24 Thread rahul sharma
go to link i said..n at bottom u can find sum programs that are user responshop it helps On Thu, Nov 24, 2011 at 8:45 PM, kumar raja rajkumar.cs...@gmail.comwrote: @rahul: when i tried the following i got an error int a=3,b=2; printf(%p, (a)^(b)); On 24 November 2011 06:28,