0707. 设计链表 #259
0707. 设计链表
#259
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
0707. 设计链表
--- 0707. 设计链表 标签:设计、链表 难度:中等 题目链接 0707. 设计链表 - 力扣 题目大意 要求:设计实现一个链表,需要支持以下操作: get(index):获取链表中第 index 个节点的值。如果索引无效,则返回 -1。 addAtHead(val):在链表的第一个元素之前添加一个值为 val 的节点。插入后,新节点将成为链表的...
https://algo.itcharge.cn/solutions/0700-0799/design-linked-list/
Beta Was this translation helpful? Give feedback.
All reactions