https://leetcode.com/problems/binary-tree-maximum-path-sum/Given a binary tree, find the maximum path sum.The path may start and end at any node in th...
分类:
其他好文 时间:
2015-04-26 22:23:56
阅读次数:
174
题目描述Write an algorithm to determine if a number is “happy”.A happy number is a number defined by the following process: Starting with any positive integer, replace the number by the sum of the squares...
分类:
移动开发 时间:
2015-04-26 12:27:42
阅读次数:
114
题目链接:happy-number
Write an algorithm to determine if a number is "happy".
A happy number is a number defined by the following process: Starting with any positive integer, replace the numbe...
分类:
移动开发 时间:
2015-04-26 10:53:59
阅读次数:
123
问题描述:Implement regular expression matching with support for '.' and '*'.'.' Matches any single character.'*' Matches zero or more of the preceding ele...
分类:
编程语言 时间:
2015-04-25 22:41:59
阅读次数:
172
安装PIL的时候遇到个问题, pip?install?PIL
Downloading/unpacking?PIL
??Could?not?find?any?downloads?that?satisfy?the?requirement?PIL
??Some?externally?hosted?files?were?ignored...
分类:
编程语言 时间:
2015-04-25 21:19:25
阅读次数:
604
git错误:fatal: Not a git repository (or any of the parent directories): .git我用git add file添加文件时出现这样错误:fatal: Not a git repository (or any of the parent ...
分类:
其他好文 时间:
2015-04-25 18:12:33
阅读次数:
120
昨天新装eclispe 后,创建maven工程后出现Could not resolve archetype org.apache.maven.archetypes:maven-archetype-quickstart:RELEASE from any of the configured reposi...
分类:
Web程序 时间:
2015-04-25 09:21:38
阅读次数:
271
Write an algorithm to determine if a number is “happy”.
A happy number is a number defined by the following process: Starting with any positive integer, replace the number by the sum of the square...
分类:
移动开发 时间:
2015-04-25 00:21:22
阅读次数:
153
1
有关下列扩展 ACL 的说法中哪两项正确? (选择两项。)
access-list 101 deny tcp 172.16.3.0 0.0.0.255 any eq 20
access-list 101 deny tcp 172.16.3.0 0.0.0.255 any eq 21
access-list 101 permit ip any any
...
分类:
其他好文 时间:
2015-04-25 00:19:09
阅读次数:
376
problem:
Follow up for problem "Populating Next Right Pointers in Each Node".
What if the given tree could be any binary tree? Would your previous solution still work?
Note:
You may ...
分类:
其他好文 时间:
2015-04-24 10:35:50
阅读次数:
136