Projects Trello Class ☆☆☆ Robotics I: Robotic Manipunation Computational Intelligence Research ☆☆☆ Read Paper and Take notes - Google Drive Medium Moo ...
分类:
其他好文 时间:
2017-09-08 00:27:19
阅读次数:
198
Given a binary tree where all the right nodes are either leaf nodes with a sibling (a left node that shares the same parent node) or empty, flip it up ...
分类:
其他好文 时间:
2017-09-07 11:59:59
阅读次数:
150
Given a binary tree, collect a tree's nodes as if you were doing this: Collect and remove all leaves, repeat until the tree is empty. Have you met thi ...
分类:
其他好文 时间:
2017-09-07 10:11:27
阅读次数:
219
Given a Binary Search Tree (BST), convert it to a Greater Tree such that every key of the original BST is changed to the original key plus sum of all ...
分类:
其他好文 时间:
2017-09-07 10:05:47
阅读次数:
156
Given a binary tree, return the vertical order traversal of its nodes' values. (ie, from top to bottom, column by column). If two nodes are in the sam ...
分类:
其他好文 时间:
2017-09-07 10:05:21
阅读次数:
167
题目:Generate Parentheses 描述:给定一个非负整数n,生成n对括号的所有合法排列。[转载] 解答: 该问题解的个数就是卡特兰数,但是现在不是求个数,而是要将所有合法的括号排列打印出来。 该问题和《编程之美》的买票找零问题一样,通过买票找零问题我们可以知道,针对一个长度为2n的合法 ...
分类:
其他好文 时间:
2017-09-07 00:04:33
阅读次数:
138
最小子数组 描述 笔记 数据 评测 给定一个整数数组,找到一个具有最小和的子数组。返回其最小和。 注意事项 子数组最少包含一个数字 您在真实的面试中是否遇到过这个题? Yes 哪家公司问你的这个题? Airbnb Amazon LinkedIn Cryptic Studios Dropbox App ...
分类:
编程语言 时间:
2017-09-05 23:03:18
阅读次数:
205
给定一个整型数组,找出主元素,它在数组中的出现次数严格大于数组元素个数的二分之一。 注意事项 You may assume that the array is non-empty and the majority number always exist in the array. You may a ...
分类:
其他好文 时间:
2017-09-05 20:52:02
阅读次数:
183
Given n non-negative integers representing the histogram's bar height where the width of each bar is 1, find the area of largest rectangle in the hist ...
分类:
其他好文 时间:
2017-09-05 13:25:33
阅读次数:
239
子树 描述 笔记 数据 评测 有两个不同大小的二进制树: T1 有上百万的节点; T2 有好几百的节点。请设计一种算法,判定 T2 是否为 T1的子树。 注意事项 若 T1 中存在从节点 n 开始的子树与 T2 相同,我们称 T2 是 T1 的子树。也就是说,如果在 T1 节点 n 处将树砍断,砍断 ...
分类:
其他好文 时间:
2017-09-02 12:54:46
阅读次数:
122