首页
AI Coding
NEW
沸点
课程
直播
活动
AI刷题
APP
插件
搜索历史
清空
创作者中心
写文章
发沸点
写笔记
写代码
草稿箱
创作灵感
查看更多
会员
登录
注册
确定删除此收藏集吗
删除后此收藏集将被移除
取消
确定删除
确定删除此文章吗
删除后此文章将被从当前收藏集中移除
取消
确定删除
编辑收藏集
名称:
描述:
0
/100
公开
当其他人关注此收藏集后不可再更改为隐私
隐私
仅自己可见此收藏集
取消
确定
leetcode-medium
订阅
morrisxyang
更多收藏集
微信扫码分享
微信
新浪微博
QQ
5篇文章 · 0订阅
393. UTF-8 Validation
对于 1 字节的字符,字节的第一位设为0,后面7位为这个符号的unicode码。 对于 n 字节的字符 (n > 1),第一个字节的前 n 位都设为1,第 n+1 位设为0,后面字节的前两位一律设为10。剩下的没有提及的二进制位,全部为这个符号的unicode码。 给定一个表示…
328. Odd Even Linked List(奇偶链表)
Given a singly linked list, group all odd nodes together followed by the even nodes. Please note here we are talking about the node number …
19. Remove Nth Node From End of List(只遍历一次,移除链表倒数第k个节点)
Given a linked list, remove the n-th node from the end of list and return its head. Given n will always be valid.
147. Insertion Sort List(使用插入排序对链表进行排序)
描述使用插入排序对链表进行排序思路见插入排序实现
92. Reverse Linked List II(反转链表中的一部分)
Reverse a linked list from position m to n. Do it in one-pass. Note: 1 ≤ m ≤ n ≤ length of list. 找到并保存第m+1个节点前面的节点,找到并保存第n+1个节点. 要反转的是m+1-n…