登录
|
注册
公司
标签
文章
搜索
链表
热门公司
阿里巴巴
微软
腾讯
迅雷
华为
百度
热门职位
研发工程师
C语言工程师
所有
有回答
没回答
新题目
有最佳答案
排序
热度
·
时间
·
经典指数
0
0
1488
有两个较长的单向链表a和b,为了找出节点node满足node in a并且node in b。请设计空间使用尽量小的算法。(c/c++/java或伪码表示都可以) ...
阅读题目
阿里巴巴
链表
问答题
经典指数
0
0
1521
对长度为n的线性表进行顺序查找,在最坏情况下所需要的比较次数为 1 ...
阅读题目
数组
链表
填空题
经典指数
0
0
1573
寻找一个单向链表的中项,如果存在两个则返回前一个,请给出算法描述并给出代码实现。 ...
阅读题目
百度
链表
问答题
经典指数
0
0
929
Given a sorted linked list, delete all nodes that have duplicate numbers, leaving only distinct numbers from the original list. For example, Given1->2->3->3->4->4->5, return1->2->5. Given1->1->1->2->3, return2->3. ...
阅读题目
链表
面试题
经典指数
0
0
890
Given a linked list, return the node where the cycle begins. If there is no cycle, returnnull. Follow up: Can you solve it without using extra space? ...
阅读题目
链表
面试题
经典指数
0
0
2205
链表不具有的特点是() 插入、删除不需要移动元素 可随机访问任一元素 不必事先估计存储空间 所需空间与线性长度成正比 ...
阅读题目
链表
单选题
经典指数
0
0
1160
Given a linked list, determine if it has a cycle in it. Follow up: Can you solve it without using extra space? ...
阅读题目
链表
面试题
经典指数
0
0
936
Given a linked list, swap every two adjacent nodes and return its head. For example, Given1->2->3->4, you should return the list as2->1->4->3. Your algorithm should use only constant space. You may not modify the values in the list, only nodes itself can be changed. ...
阅读题目
链表
面试题
经典指数
0
0
897
A linked list is given such that each node contains an additional random pointer which could point to any node in the list or null. Return a deep copy of the list. ...
阅读题目
链表
面试题
经典指数
0
0
7324
下列给定程序中,函数fun的功能是:计算一个带头结点的单向链表中各节点的数据据域中数值之和,结果作为函数值返回。 请在程序的下画线处填入正确的内容并将下画线删除,使程序得出正确的结果。 #define N 8 typedef struct list { int data; struct list *next; } SLIST; SLIST *creatlist(int *); void outlist(SLIST *); int fun( SLIST *h) { SLIST *p; int s = 0; p = h->next; while (p) { /**********found**********/ s += p-> 1 ; /**********found**********/ p = p-> 2 ; } return s; } main( ) { SLIST *head; ...
阅读题目
C语言工程师
链表
填空题
经典指数
1
2
3
4
38
题目数
1
贡献者
212
答案数
扫描后移动端查看
我也分享一个题目
相关标签
数组
阿里巴巴
研发工程师
队列
C语言工程师
栈
复杂度
树
哈希
2015
同类标签
树
排序
数组
字符串
复杂度
查找
栈
图
哈希
队列
微信公众号
欢迎加入,一起群聊
×
登录
注册
找回密码
记住登录
登录
快速注册
直接第三方登录