cheng102e的博客

缘何不懂,坚持不懈磨砺精炼


  • 首页

  • 关于

  • 标签

  • 分类

  • 归档

  • 搜索

LeetCode 155. Min Stack

发表于 2020-03-14 | 分类于 LeetCode
字数统计: 290 | 阅读时长 ≈ 1
155. Min Stack(最小栈)链接https://leetcode-cn.com/problems/min-stack 题目设计一个支持 push,pop,top 操作,并能在常数时间内检索到最小元素的栈。 push(x) – 将元素 x 推入栈中。pop() – 删除栈顶的元素。top() ...
阅读全文 »

LeetCode 300. Longest Increasing Subsequence

发表于 2020-03-14 | 分类于 LeetCode
字数统计: 327 | 阅读时长 ≈ 1
300. Longest Increasing Subsequence(最长上升子序列)链接https://leetcode-cn.com/problems/merge-two-binary-trees 题目给定一个无序的整数数组,找到其中最长上升子序列的长度。 示例: 输入: [10,9,2, ...
阅读全文 »

LeetCode 617. Merge Two Binary Trees

发表于 2020-03-13 | 分类于 LeetCode
字数统计: 290 | 阅读时长 ≈ 1
617. Merge Two Binary Trees(合并二叉树)链接https://leetcode-cn.com/problems/merge-two-binary-trees 题目给定两个二叉树,想象当你将它们中的一个覆盖到另一个上时,两个二叉树的一些节点便会重叠。 你需要将他们合并为一个新 ...
阅读全文 »

LeetCode 226. Invert Binary Tree

发表于 2020-03-13 | 分类于 LeetCode
字数统计: 223 | 阅读时长 ≈ 1
226. Invert Binary Tree(翻转二叉树)链接https://leetcode-cn.com/problems/invert-binary-tree 题目翻转一棵二叉树。 示例: 输入: 4 / 2 7 / \ / 1 3 6 9输出: 4 / ...
阅读全文 »

LeetCode 226. Invert Binary Tree

发表于 2020-03-13 | 分类于 LeetCode
字数统计: 223 | 阅读时长 ≈ 1
226. Invert Binary Tree(翻转二叉树)链接https://leetcode-cn.com/problems/invert-binary-tree 题目翻转一棵二叉树。 示例: 输入: 4 / 2 7 / \ / 1 3 6 9输出: 4 / ...
阅读全文 »

LeetCode 101. Symmetric Tree

发表于 2020-03-13 | 分类于 LeetCode
字数统计: 313 | 阅读时长 ≈ 1
101. Symmetric Tree(对称二叉树)链接https://leetcode-cn.com/problems/symmetric-tree 题目给定一个二叉树,检查它是否是镜像对称的。 例如,二叉树 [1,2,2,3,4,4,3] 是对称的。 1 / 2 2 / \ / 3 ...
阅读全文 »

LeetCode 21. Merge Two Sorted Lists

发表于 2020-03-13 | 分类于 LeetCode
字数统计: 244 | 阅读时长 ≈ 1
21. Merge Two Sorted Lists(合并两个有序链表)链接https://leetcode-cn.com/problems/merge-two-sorted-lists/ 题目将两个有序链表合并为一个新的有序链表并返回。新链表是通过拼接给定的两个链表的所有节点组成的。 示例: ...
阅读全文 »

LeetCode 1071. Greatest Common Divisor of Strings

发表于 2020-03-11 | 分类于 LeetCode
字数统计: 275 | 阅读时长 ≈ 1
1071. Greatest Common Divisor of Strings(字符串的最大公因子)链接https://leetcode-cn.com/problems/greatest-common-divisor-of-strings 题目对于字符串 S 和 T,只有在 S = T + … + ...
阅读全文 »

LeetCode 1013. Partition Array Into Three Parts With Equal Sum

发表于 2020-03-11 | 分类于 LeetCode
字数统计: 402 | 阅读时长 ≈ 1
1013. Partition Array Into Three Parts With Equal Sum(将数组分成和相等的三个部分)链接https://leetcode-cn.com/problems/partition-array-into-three-parts-with-equal-sum ...
阅读全文 »

LeetCode 322. Coin Change

发表于 2020-03-08 | 分类于 LeetCode
字数统计: 284 | 阅读时长 ≈ 1
322. Coin Change(零钱兑换)链接https://leetcode-cn.com/problems/find-numbers-with-even-number-of-digits 题目给定不同面额的硬币 coins 和一个总金额 amount。编写一个函数来计算可以凑成总金额所需的最少 ...
阅读全文 »
123…24
cheng102e

cheng102e

238 日志
12 分类
9 标签
RSS
GitHub E-Mail QQ 博客园
近期文章
  • LeetCode 543. Diameter of Binary Tree
  • LeetCode 234. Palindrome Linked List
  • LeetCode 206. Reverse Linked List
  • LeetCode 160. Intersection of Two Linked Lists
  • LeetCode 1160. Find Words That Can Be Formed by Characters
0%
© 2020 cheng102e
由 Hexo 强力驱动
|
主题 — NexT.Pisces v5.1.4
博客全站共91.8k字
访客数 人 总访问量 次