![](https://img-blog.csdnimg.cn/20201014180756913.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
LeetCode全集
文章平均质量分 79
LeetCode题目分析、编码实现,欢迎看过来
Yuzhiyuxia
这个作者很懒,什么都没留下…
展开
-
【leetcode】1156. 单字符重复子串的最大长度
片段拼接法求单字符重复子串的最大长度原创 2023-06-03 11:46:01 · 360 阅读 · 0 评论 -
【leetcode】1130. 叶值的最小代价生成树
动态规划、单调栈求解最小代价原创 2023-05-31 16:52:16 · 646 阅读 · 0 评论 -
【leetcode】剑指 Offer II 070. 排序数组中只出现一次的数字
对有序的数组找出现一次的数字原创 2023-05-30 21:08:05 · 632 阅读 · 0 评论 -
【leetcode】98. 验证二叉搜索树
4种思想,5种实现验证二叉搜索树原创 2023-05-27 17:22:34 · 816 阅读 · 0 评论 -
位操作集锦
位操作总结原创 2023-05-25 21:39:16 · 788 阅读 · 0 评论 -
【leetcode】1373. 二叉搜索子树的最大键值和
后序遍历解决二叉搜索树的最大节点之和原创 2023-05-20 16:42:28 · 605 阅读 · 0 评论 -
【leetcode】1079.活字印刷
活字印刷算法分析及实现原创 2023-05-19 15:23:42 · 517 阅读 · 0 评论 -
两两交换链表中的节点
链表节点两两交换原创 2023-05-02 15:11:47 · 71 阅读 · 0 评论 -
LeetCode 671. Second Minimum Node In a Binary Tree
Given a non-empty special binary tree consisting of nodes with the non-negative value, where each node in this tree has exactly two or zero sub-node. If the node has two sub-nodes, then this node's va...原创 2020-01-16 23:55:42 · 238 阅读 · 0 评论 -
LeetCode 1287. Element Appearing More Than 25% In Sorted Array
Given an integer array sorted in non-decreasing order, there is exactly one integer in the array that occurs more than 25% of the time.Return that integer.给一个非降序排列的整型数组,只存在一个整数,要求:该整数出现次数超过25%。最后结果...原创 2020-01-13 23:44:51 · 259 阅读 · 0 评论