摘要:
2231: 交集问题(线性表)Time Limit:1 SecMemory Limit:128 MBSubmit:6Solved:3[Submit][Status][Web Board]Description设有两个单链表A,B,求出A,B的交集元素放到A中Input1 4 5 6 7 81 3 6 9 10 33Output1 6Sample Input11 14 54 6 4 8311 3 6 9 10 83Sample Output11 6 83 HINTSource 数据结构,链表练习。 对两个链表取交集输出。考验链表的实现和处理。作为练习题很适合。也纠结了不少时间。 代码:... 阅读全文
posted @ 2014-03-15 11:09
Freecode#
阅读(726)
评论(0)
推荐(0)

浙公网安备 33010602011771号