摘要: 1.题目链表 https://leetcode-cn.com/problems/the-k-strongest-values-in-an-array/ 2.题目链接 给你一个整数数组 arr 和一个整数 k 。 设 m 为数组的中位数,只要满足下述两个前提之一,就可以判定 arr[i] 的值比 ar 阅读全文
posted @ 2020-06-07 22:30 铅灰色天空 阅读(135) 评论(0) 推荐(0) 编辑
摘要: 1.题目链接 https://leetcode-cn.com/problems/merge-two-sorted-lists/ 2.题目描述 将两个升序链表合并为一个新的升序链表并返回。新链表是通过拼接给定的两个链表的所有节点组成的。 示例: 输入:1->2->4, 1->3->4 输出:1->1- 阅读全文
posted @ 2020-05-01 10:54 铅灰色天空 阅读(133) 评论(0) 推荐(0) 编辑