![](https://img-blog.csdnimg.cn/20201014180756780.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
top100
DarKNightYU
学习路径
展开
-
Leecode23. 合并K个升序链表
题源链接 /** * Definition for singly-linked list. * public class ListNode { * int val; * ListNode next; * ListNode() {} * ListNode(int val) { this.val = val; } * ListNode(int val, ListNode next) { this.val = val; this.next = next; }.原创 2021-07-05 18:31:36 · 96 阅读 · 0 评论 -
Leecode4. 寻找两个正序数组的中位数
class Solution { public double findMedianSortedArrays(int[] nums1, int[] nums2) { //简单暴力解法 int m = nums1.length; int n = nums2.length; int[] nums = new int[m + n]; // 定义一个m+n长度数组 // 简单排序 两个有序数组合并一个有序数组 .原创 2021-07-05 16:41:24 · 86 阅读 · 0 评论 -
决战秋招笔试:leecode题型分类索引
栈和队列 链表 二叉树 递归和动态规划 字符串 大数据和空间限制 位运算 数组和矩阵 ———————————————————————————— 滑动窗口 排列 区间重叠 字典树 宽度优先搜索 深度优先搜索 二分搜索 哈希 堆 并查集 贪心 数学 其它原创 2021-07-02 15:00:47 · 243 阅读 · 1 评论 -
TOP100 三数之和
这里写自定义目录标题TOP100 三数之和 TOP100 三数之和 /** * Return an array of arrays of size *returnSize. * The sizes of the arrays are returned as *returnColumnSizes array. * Note: Both returned array and *columnSizes array must be malloced, assume caller calls free().原创 2021-06-25 08:56:32 · 117 阅读 · 0 评论