会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
rxh1999
博客园
首页
新随笔
联系
订阅
管理
上一页
1
2
3
4
5
6
7
8
9
下一页
2021年4月1日
suffix array
摘要: // // Created by rxh1999 on 2021/4/1. // #include<iostream> #include<bits/stdc++.h> using namespace std; void suffixArray(){ string s; cin>>s; s+='$';
阅读全文
posted @ 2021-04-01 12:37 rxh1999
阅读(47)
评论(0)
推荐(0)
2021年3月29日
c++常用
摘要: //1. 二维数组(from CR) vector<vector<int>> dp(n, vector<int>(n, -1));
阅读全文
posted @ 2021-03-29 19:49 rxh1999
阅读(43)
评论(0)
推荐(0)
14. 剪绳子
摘要: https://www.nowcoder.com/practice/57d85990ba5b440ab888fc72b0751bf8?tpId=13&tqId=33257&tab=answerKey&from=cyc_github class Solution { public: int cutRo
阅读全文
posted @ 2021-03-29 19:24 rxh1999
阅读(64)
评论(0)
推荐(0)
2021年3月28日
68. 树中两个节点的最低公共祖先
摘要: https://leetcode-cn.com/problems/lowest-common-ancestor-of-a-binary-search-tree/ //注意是二叉搜索树 class Solution { public: TreeNode* ans; void dfs(TreeNode*
阅读全文
posted @ 2021-03-28 17:27 rxh1999
阅读(29)
评论(0)
推荐(0)
36. 二叉搜索树与双向链表
摘要: https://www.nowcoder.com/practice/947f6eb80d944a84850b0538bf0ec3a5?tpId=13&tqId=11179&tPage=1&rp=1&ru=%2Fta%2Fcoding-interviews&qru=%2Fta%2Fcoding-int
阅读全文
posted @ 2021-03-28 16:43 rxh1999
阅读(41)
评论(0)
推荐(0)
34. 二叉树中和为某一值的路径
摘要: https://www.nowcoder.com/practice/b736e784e3e34731af99065031301bca?tpId=13&tqId=11177&tPage=1&rp=1&ru=%2Fta%2Fcoding-interviews&qru=%2Fta%2Fcoding-int
阅读全文
posted @ 2021-03-28 15:35 rxh1999
阅读(66)
评论(0)
推荐(0)
二叉搜索树的后序遍历序列
摘要: https://www.nowcoder.com/practice/a861533d45854474ac791d90e447bafd?tpId=13&tqId=11176&tPage=1&rp=1&ru=%2Fta%2Fcoding-interviews&qru=%2Fta%2Fcoding-int
阅读全文
posted @ 2021-03-28 14:38 rxh1999
阅读(51)
评论(0)
推荐(0)
32.3 按之字形顺序打印二叉树
摘要: https://www.nowcoder.com/practice/91b69814117f4e8097390d107d2efbe0?tpId=13&tqId=11212&tPage=1&rp=1&ru=%2Fta%2Fcoding-interviews&qru=%2Fta%2Fcoding-int
阅读全文
posted @ 2021-03-28 13:51 rxh1999
阅读(29)
评论(0)
推荐(0)
32.2 把二叉树打印成多行
摘要: https://www.nowcoder.com/practice/445c44d982d04483b04a54f298796288?tpId=13&tqId=11213&tPage=1&rp=1&ru=%2Fta%2Fcoding-interviews&qru=%2Fta%2Fcoding-int
阅读全文
posted @ 2021-03-28 13:36 rxh1999
阅读(60)
评论(0)
推荐(0)
32.1 从上往下打印二叉树
摘要: https://www.nowcoder.com/practice/7fe2212963db4790b57431d9ed259701?tpId=13&tqId=11175&tPage=1&rp=1&ru=%2Fta%2Fcoding-interviews&qru=%2Fta%2Fcoding-int
阅读全文
posted @ 2021-03-28 12:56 rxh1999
阅读(39)
评论(0)
推荐(0)
上一页
1
2
3
4
5
6
7
8
9
下一页
公告