题目描述
Given a binary tree, return the bottom-up level order traversal of its nodes’ values. (ie, from left to right, level by level from leaf to root)....
分类:
其他好文 时间:
2015-06-07 21:38:29
阅读次数:
119
Follow up for "Remove Duplicates":What if duplicates are allowed at mosttwice?For example,Given sorted arraynums=[1,1,1,2,2,3],Your function should re...
分类:
其他好文 时间:
2015-06-07 21:30:06
阅读次数:
121
Vim has three kinds of Visual mode. In character-wise Visual mode, we can select anything from a single character up to a range of characters within a line or spanning multiple lines. This is suitable...
分类:
系统相关 时间:
2015-06-07 18:54:58
阅读次数:
183
因为不是计算机专业的,算法基础有点差,所以最近开始在leetcode上刷刷题补一补。#1 问题链接:twoSum问题描述:Given an array of integers, find two numbers such that they add up to a specific target n...
分类:
其他好文 时间:
2015-06-07 17:25:58
阅读次数:
117
N-Queens IIFollow up for N-Queens problem.Now, instead outputting board configurations, return the total number of distinct solutions.https://leetcode...
分类:
编程语言 时间:
2015-06-07 15:42:33
阅读次数:
186
1457. Heating Main
Time limit: 1.0 second
Memory limit: 64 MB
Background
I like my hometown very much. Those dilapidated buildings rising proudly above the city and streets dug up as far bac...
分类:
其他好文 时间:
2015-06-07 11:09:57
阅读次数:
163
vagrant up启动时如果设置成private_network报如下错:Bringing machine 'default' up with 'virtualbox' provider...[default] Importing base box 'precise64'...[default] ...
分类:
其他好文 时间:
2015-06-07 06:11:40
阅读次数:
205
ctrl+f 在文件中前移一页(相当于 page down) ctrl+b 在文件中后移一页(相当于 page up)* 当光标停留在一个单词上,* 键会在文件内搜索该单词,并跳转到下一处 # 当光标停留在一个单词上,# 在文件内搜索该单词,并跳转到上一处 (/) 移动到 前/后 句 的开始 {/}...
分类:
系统相关 时间:
2015-06-06 23:20:25
阅读次数:
226
题目:
Given an array of integers, find two numbers such that they add up to a specific target number.
The function twoSum should return indices of the two numbers such that they add up to the target,w...
分类:
其他好文 时间:
2015-06-06 14:59:04
阅读次数:
124
题目描述
Given a binary tree and a sum, determine if the tree has a root-to-leaf path such that adding up all the values along the path equals the given sum.
For example:
Given the below binary t...
分类:
其他好文 时间:
2015-06-06 12:10:56
阅读次数:
131