LeetCode
LeetCode刷题之路,求职之路
Parzivval
。
展开
-
LeetCode-0808
sql;dp原创 2023-08-08 16:48:20 · 408 阅读 · 0 评论 -
LeetCode-0804
sql ; 手写题原创 2023-08-04 22:27:30 · 368 阅读 · 0 评论 -
LeetCode-0802
sql;dp原创 2023-08-02 18:24:32 · 410 阅读 · 0 评论 -
LeetCode-0801
sql+dp原创 2023-08-01 12:28:55 · 312 阅读 · 0 评论 -
LeetCode-0728
dp50 基础;sql50 基础原创 2023-07-28 14:16:01 · 197 阅读 · 0 评论 -
LeetCode-0727
dp50 基础原创 2023-07-27 15:07:09 · 183 阅读 · 0 评论 -
LeetCode(sql)-0723
子查询;聚合函数;排序分组原创 2023-07-23 16:36:28 · 344 阅读 · 0 评论 -
LeetCode(sql)-0722
sql原创 2023-07-23 00:31:54 · 263 阅读 · 0 评论 -
leetCode-0721
链表反转;LRU原创 2023-07-22 15:49:18 · 198 阅读 · 0 评论 -
LeetCode-0719
dfs;bfs;排序原创 2023-07-19 11:54:22 · 148 阅读 · 0 评论 -
LeetCode(字节 10 日完结)-0718
树;dfs;字符串原创 2023-07-19 00:46:50 · 94 阅读 · 0 评论 -
LeetCode(字节10日)-0717
链表;位运算;dfs原创 2023-07-17 16:09:52 · 309 阅读 · 0 评论 -
LeetCode(字节10日)-0716
dp;排列组合;前缀和+哈希原创 2023-07-16 16:20:32 · 441 阅读 · 0 评论 -
LeetCode(字节10日)-0715
两个 dp 一个简单题原创 2023-07-15 21:19:02 · 286 阅读 · 0 评论 -
LeetCode(字节10日)-0714
问题:一开始没有仔细审题,犯大忌。原创 2023-07-14 16:45:28 · 543 阅读 · 0 评论 -
剑指offer 简单题
给定一个数组A[0,1,...,n-1],请构建一个数组B[0,1,...,n-1],其中B中的元素B[i]=A[0]*A[1]*...*A[i-1]*A[i+1]*...*A[n-1]。(注意:规定B[0] = A[1] * A[2] * ... * A[n-1],B[n-1] = A[0] * A[1] * ... * A[n-2];例如输入一个长度为9的数组{1,2,3,2,2,2,5,4,2}。从根结点到叶结点依次经过的结点(含根、叶结点)形成树的一条路径,最长路径的长度为树的深度。原创 2021-01-25 11:13:41 · 69 阅读 · 0 评论 -
剑指offer 中等题
输入某二叉树的前序遍历和中序遍历的结果,请重建出该二叉树。假设输入的前序遍历和中序遍历的结果中都不含重复的数字。例如输入前序遍历序列{1,2,4,7,3,5,6,8}和中序遍历序列{4,7,2,1,5,3,8,6},则重建二叉树并返回。原创 2021-02-28 17:42:42 · 89 阅读 · 0 评论 -
LeetCode-0712
dp原创 2023-07-12 17:49:12 · 313 阅读 · 0 评论 -
LeetCode-0711
子序列的 dp问题原创 2023-07-11 12:33:21 · 141 阅读 · 0 评论 -
LeetCode-0707
最长上升子序列;最长公共子序列原创 2023-07-07 11:14:17 · 309 阅读 · 0 评论 -
LeetCode-0706
dp原创 2023-07-06 14:32:22 · 57 阅读 · 0 评论 -
LeetCode-0705
dp原创 2023-07-05 11:57:22 · 201 阅读 · 0 评论 -
LeetCode-0704
dp原创 2023-07-04 11:06:10 · 186 阅读 · 0 评论 -
LeetCode-0703
dp原创 2023-07-03 17:47:34 · 154 阅读 · 0 评论 -
LeetCode-0702
dp原创 2023-07-02 19:14:32 · 50 阅读 · 0 评论 -
LeetCode-0701
dp原创 2023-07-01 22:00:27 · 166 阅读 · 0 评论 -
LeetCode-0629
dp;原创 2023-06-29 12:12:28 · 368 阅读 · 0 评论 -
LeetCode-0628
dp;贪心原创 2023-06-28 11:42:51 · 210 阅读 · 0 评论 -
LeetCode-0627
贪心原创 2023-06-27 14:27:37 · 213 阅读 · 0 评论 -
LeetCode-0624
贪心原创 2023-06-24 13:47:25 · 53 阅读 · 0 评论 -
集合排序Lambda实现(Java)
正序:一般不需要额外操作,如果需要的话,就在lambda位置加 Comparator.comparingInt(a -> a.)倒序:除了一维数组的倒序需要stream+boxed操作,其余都使用lambda:(a,b)->Integer.compare(b.id,a.id)原创 2023-06-20 12:01:03 · 159 阅读 · 0 评论 -
LeetCode-0620
贪心原创 2023-06-20 11:07:37 · 84 阅读 · 0 评论 -
LeetCode-0616
贪心原创 2023-06-16 10:58:03 · 41 阅读 · 0 评论 -
LeetCode-0615
贪心原创 2023-06-15 13:23:50 · 34 阅读 · 0 评论 -
LeetCode-0614
贪心&dp;stream练习题原创 2023-06-14 12:56:32 · 39 阅读 · 0 评论 -
LeetCode-0613
贪心;摆动序列原创 2023-06-13 14:55:04 · 36 阅读 · 0 评论 -
LeetCode-0609
dfs;解数独原创 2023-06-09 10:38:59 · 36 阅读 · 0 评论 -
LeetCode-0608
dfs;N皇后原创 2023-06-08 11:33:26 · 60 阅读 · 0 评论 -
LeetCode-0607
回溯;dfs;欧拉回路原创 2023-06-07 11:55:10 · 510 阅读 · 0 评论 -
LeetCode-0606
回溯;dfs;子集合原创 2023-06-06 11:10:47 · 33 阅读 · 0 评论