Possible Duplicate:
How should I draw a singly/double linked list?
I am using xypic to draw a linked list. It consists essentially a sequence of chained 2-cell boxes. The problem is how to put array's base-entry inside a box. Something like the diagram below (only one node is drawn here)
Can you tell me how to draw such diagram by xypic pls.? Thanks
| ---------|
| 9 | ------------>
|----------|
TikZ, here's one possible solution: How should I draw a singly/double linked list? – Gonzalo Medina May 26 '12 at 05:51