摘要:
地址:https://leetcode cn.com/problems/merge two sorted lists/ 大意:将两个升序链表合并为一个新的升序链表并返回。 ` ` 阅读全文
posted @ 2020-04-12 03:13
一只小白的进修路
阅读(161)
评论(0)
推荐(0)
摘要:
地址:https://leetcode cn.com/problems/remove linked list elements/ 大意:删除链表中等于给定值的所有节点。 ` ` 阅读全文
posted @ 2020-04-12 03:04
一只小白的进修路
阅读(157)
评论(0)
推荐(0)
摘要:
地址:https://leetcode cn.com/problems/two sum/ 大意:给定一个整数数组和一个目标值,在该数组中找出和为目标值的两个整数,并返回两个整数的数组下标 ` ` 阅读全文
posted @ 2020-04-12 02:54
一只小白的进修路
阅读(142)
评论(0)
推荐(0)
摘要:
地址:https://leetcode cn.com/problems/add two numbers/submissions/ 大意:给定两个链表,返回一个由这两个链表相加而得到的新链表 ` ` 阅读全文
posted @ 2020-04-12 02:32
一只小白的进修路
阅读(114)
评论(0)
推荐(0)
摘要:
地址:https://leetcode cn.com/problems/odd even linked list/ 大意:给定一个链表,把所有的奇数节点排在左边,其他排在右边。 要求:时间复杂度O(n) 空间复杂度O(1) ` ` 阅读全文
posted @ 2020-04-12 02:13
一只小白的进修路
阅读(136)
评论(0)
推荐(0)
摘要:
地址:https://leetcode cn.com/problems/longest increasing subsequence/ 大意:给定一个数组,找到最长上升子序列 ` ` 阅读全文
posted @ 2020-04-12 01:39
一只小白的进修路
阅读(137)
评论(0)
推荐(0)
摘要:
地址:https://leetcode cn.com/problems/partition list/ 大意:给定一个链表和x,将数值小于x的节点放到左边,其他放右边,保留两个分区中每个节点的初始相对位置 ` ` 阅读全文
posted @ 2020-04-12 01:17
一只小白的进修路
阅读(140)
评论(0)
推荐(0)