毛佳茗de代码

Mao's code

排序:
默认
按更新时间
按访问量

Finding a Loop in a Singly Linked List

MotivationA singly linked list is a common data structure familiar to all computer scientists. A singly linked list is made of nodes where each node ...

2006-11-16 14:56:00

阅读数:1445

评论数:0

微软面试技术题

1、反转一个链表。循环算法。 List reverse(List l) { if(!l) return l; list cur = l.next; list pre = l; list tmp; pre.next = null; while ( cur ) { tmp = cur; cur = c...

2006-11-16 14:44:00

阅读数:1419

评论数:0

提示
确定要删除当前文章?
取消 删除
关闭
关闭