登录
|
注册
公司
标签
文章
搜索
链表
热门公司
阿里巴巴
微软
腾讯
迅雷
华为
百度
热门职位
研发工程师
C语言工程师
所有
有回答
没回答
新题目
有最佳答案
排序
热度
·
时间
·
经典指数
1
0
1265
用链表表示线性表的优点有哪些? ...
阅读题目
链表
问答题
经典指数
0
0
1255
循环链表的主要优点是什么? ...
阅读题目
链表
问答题
经典指数
1
0
1252
在一个排序的链表中,存在重复的结点,请删除该链表中重复的结点,重复的结点不保留,返回链表头指针。 例如,链表1->2->3->3->4->4->5 处理后为 1->2->5 ...
阅读题目
链表
面试题
经典指数
0
0
1182
用c语言把双向链表中的两个结点交换位置,考虑各种边界问题。 struct Node { Node *prev; Node *next; } void exchange(Node *node1,Node *node2) { } ...
阅读题目
网易
链表
问答题
经典指数
1
0
1174
To store English words, one method is to use linked lists and store a word letter by letter. To save some space, we may let the words share the same sublist if they share the same suffix. For example, "loading" and "being" are stored as showed in Figure 1. Figure 1 You are supposed to find the starting position of the common suffix (e.g. the position of "i" in Figure 1). 输入描述: Each input file contains one test case. For each case, the first line contains two addresses of nodes and a posi ...
阅读题目
链表
面试题
经典指数
1
0
1165
A linked list consists of a series of structures, which are not necessarily adjacent in memory. We assume that each structure contains an integer key and a Next pointer to the next structure. Now given a linked list, you are supposed to sort the structures according to their key values in increasing order. 输入描述: Each input file contains one test case. For each case, the first line contains a positive N (5) and an address of the head node, where N is the total number of nodes in memory and th ...
阅读题目
链表
排序
面试题
经典指数
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? ...
阅读题目
链表
面试题
经典指数
1
0
1160
若某线性表最常用的操作是存取任一指定序号的元素和在最后进行插入和删除运算,则利用()存储方式最节省时间 顺序表 双链表 带头结点的双循环链表 单循环链表 ...
阅读题目
链表
单选题
经典指数
1
0
1147
Given a linked list, reverse the nodes of a linked list k at a time and return its modified list. If the number of nodes is not a multiple of k then left-out nodes in the end should remain as it is. You may not alter the values in the nodes, only nodes itself may be changed. Only constant memory is allowed. For example, Given this linked list:1->2->3->4->5 For k = 2, you should return:2->1->4->3->5 For k = 3, you should return:3->2->1->4->5 ...
阅读题目
链表
面试题
经典指数
1
0
1113
如何判断链表是否有环。 ...
阅读题目
链表
问答题
经典指数
<<
<
21
22
23
24
25
>
>>
249
题目数
1
贡献者
212
答案数
扫描后移动端查看
我也分享一个题目
相关标签
数组
阿里巴巴
研发工程师
队列
C语言工程师
栈
复杂度
树
哈希
2015
同类标签
树
排序
数组
字符串
复杂度
查找
栈
图
哈希
队列
微信公众号
欢迎加入,一起群聊
×
登录
注册
找回密码
记住登录
登录
快速注册
直接第三方登录