摘要:
1038. Binary Search Tree to Greater Sum Tree(从二叉搜索树到更大和树) 链接 https://leetcode cn.com/problems/binary search tree to greater sum tree/ 题目 给出二叉 搜索 树的根节点 阅读全文
posted @ 2020-03-14 17:24
cheng102e
阅读(169)
评论(0)
推荐(0)
摘要:
538. Convert BST to Greater Tree(把二叉搜索树转换为累加树) 链接 https://leetcode cn.com/problems/convert bst to greater tree 题目 给定一个二叉搜索树(Binary Search Tree),把它转换成为 阅读全文
posted @ 2020-03-14 17:20
cheng102e
阅读(91)
评论(0)
推荐(0)
摘要:
141. Linked List Cycle(环形链表) 链接 https://leetcode cn.com/problems/linked list cycle 题目 给定一个链表,判断链表中是否有环。 为了表示给定链表中的环,我们使用整数 pos 来表示链表尾连接到链表中的位置(索引从 0 开 阅读全文
posted @ 2020-03-14 16:18
cheng102e
阅读(73)
评论(0)
推荐(0)
摘要:
155. Min Stack(最小栈) 链接 https://leetcode cn.com/problems/min stack 题目 设计一个支持 push,pop,top 操作,并能在常数时间内检索到最小元素的栈。 push(x) 将元素 x 推入栈中。 pop() 删除栈顶的元素。 top( 阅读全文
posted @ 2020-03-14 11:43
cheng102e
阅读(79)
评论(0)
推荐(0)
摘要:
300. Longest Increasing Subsequence(最长上升子序列) 链接 https://leetcode cn.com/problems/merge two binary trees 题目 给定一个无序的整数数组,找到其中最长上升子序列的长度。 示例: 输入: [10,9,2 阅读全文
posted @ 2020-03-14 10:04
cheng102e
阅读(95)
评论(0)
推荐(0)

浙公网安备 33010602011771号