avatar
文章
823
标签
1101
分类
40
首页
主线
归档
标签
关于
家书
  • 父亲的与子书
  • 给女友的情书
LogoHespethornのBlog
搜索
首页
主线
归档
标签
关于
家书
  • 父亲的与子书
  • 给女友的情书

Algorithms

Leetcode 0100. Same Tree
发表于2023-08-01|AlgorithmsLeetcode-C++
100. Same TreeGiven the roots of two binary trees p and q, write a function to check if they are the same or not. Two binary trees are considered the same if...
Leetcode 0099. Recover Binary Search Tree
发表于2023-07-28|AlgorithmsLeetcode-C++
99. Recover Binary Search TreeYou are given the root of a binary search tree (BST), where the values of exactly two nodes of the tree were swapped by mistake...
Leetcode 0098. Validate Binary Search Tree
发表于2023-07-26|AlgorithmsLeetcode-C++
98. Validate Binary Search TreeGiven the root of a binary tree, determine if it is a valid binary search tree (BST). A valid BST is defined as follows: The ...
Leetcode 0096. Unique Binary Search Trees
发表于2023-07-21|AlgorithmsLeetcode-C++
96. Unique Binary Search TreesGiven an integer n, return *the number of structurally unique **BST'*s (binary search trees) which has exactly n nodes of u...
Leetcode 0095. Unique Binary Search Trees II
发表于2023-07-19|AlgorithmsLeetcode-C++
95. Unique Binary Search Trees IIGiven an integer n, return *all the structurally unique **BST'*s (binary search trees), which has exactly n nodes of uni...
Leetcode 0094. Binary Tree Inorder Traversal
发表于2023-07-14|AlgorithmsLeetcode-C++
94. Binary Tree Inorder TraversalGiven the root of a binary tree, return the inorder traversal of its nodes' values. Example 1: Input: root = [1,nu...
Leetcode 0093. Restore IP Addresses
发表于2023-07-09|AlgorithmsLeetcode-C++
93. Restore IP AddressesA valid IP address consists of exactly four integers separated by single dots. Each integer is between 0 and 255 (inclusive) and cann...
Leetcode 0090. Subsets II
发表于2023-07-04|AlgorithmsLeetcode-C++
90. Subsets IIGiven an integer array nums that may contain duplicates, return all possible subsets (the power set). The solution set must not contain duplica...
Leetcode 0086. Partition List
发表于2023-07-02|AlgorithmsLeetcode-C++
86. Partition ListGiven the head of a linked list and a value x, partition it such that all nodes less than x come before nodes greater than or equal to x. Y...
Leetcode 0084. 柱状图中最大的矩形
发表于2023-06-27|AlgorithmsLeetcode-C++
84. 柱状图中最大的矩形给定 n 个非负整数,用来表示柱状图中各个柱子的高度。每个柱子彼此相邻,且宽度为 1 。 求在该柱状图中,能够勾勒出来的矩形的最大面积。 示例 1: 示例 2: 解题思路该解法是对单调栈思路的优化实现,通过在数组末尾添加哨兵元素和栈初始化技巧,将左右边界的计算合并到一次...
Leetcode 0082. Remove Duplicates from Sorted List II
发表于2023-06-24|AlgorithmsLeetcode-C++
82. Remove Duplicates from Sorted List IIGiven the head of a sorted linked list, delete all nodes that have duplicate numbers, leaving only distinct numbers ...
Leetcode 0078. Subsets
发表于2023-06-22|AlgorithmsLeetcode-C++
78. SubsetsGiven an integer array nums of unique elements, return all possible subsets (the power set). The solution set must not contain duplicate subsets. ...
Leetcode 0077. Combinations
发表于2023-06-17|AlgorithmsLeetcode-C++
77. CombinationsGiven two integers n and k, return all possible combinations of k numbers chosen from the range [1, n]. You may return the answer in any orde...
Leetcode 0076. Minimum Window Substring
发表于2023-06-13|AlgorithmsLeetcode-C++
76. Minimum Window Substring题目Given a string S and a string T, find the minimum window in S which will contain all the characters in T in complexity O(n). Ex...
Leetcode 0074. 搜索二维矩阵
发表于2023-06-08|AlgorithmsLeetcode-C++
74. 搜索二维矩阵给你一个满足下述两条属性的 m x n 整数矩阵: 每行中的整数从左到右按非严格递增顺序排列。 每行的第一个整数大于前一行的最后一个整数。 给你一个整数 target ,如果 target 在矩阵中,返回 true ;否则,返回 false 。 示例 1: 示例 2: 解法...
1…101112…15
avatar
Hespethorn
文章
823
标签
1101
分类
40
GitHub
fox
ciwei
最新文章
计算机原则五讲(一):这笔投入能换回什么2026-11-20
计算机原则五讲(三):责任放在哪一层2026-11-20
计算机原则五讲(二):故障发生时还剩什么保证2026-11-20
计算机原则五讲(五):规模一上来,系数说了算2026-11-20
计算机原则五讲(六):没有免费的优化2026-11-20
分类
  • AI-ML53
    • AI-App20
    • AI-News33
  • Algorithms219
    • DSA35
    • Leetcode-C++141
    • Leetcode-Mysql6
    • Leetcode-Python37
  • CS-Fundamentals41
    • CS501
    • CS61A20
    • CS61B20
  • CS-Principles13
  • Database20
    • Mysql5
标签
CS-Principles专栏介绍分治存储垃圾回收容错引用透明封装关注点分离逃逸分析分布式事务数据一致性安全工程算法分析网络协议操作系统软件测试语言运行时工程运维版本管理
归档
  • 2026年11月 20
  • 2026年10月 10
  • 2026年09月 53
  • 2026年08月 56
  • 2026年07月 38
  • 2026年06月 47
网站信息
文章数目 :
823
运行时间 :
本站总字数 :
1885.8k
最后更新时间 :
搜索
数据加载中