1. Quesiton: 872. Leaf-Similar Trees url: https://leetcode.com/problems/leaf-similar-trees/description/ Consider all the leaves of a binary tree. From ...
分类:
其他好文 时间:
2018-11-17 23:20:29
阅读次数:
198
1:unconnected line 未连接的线 原因:总线上无网络标号 2:adding item to hidden net GND 加上隐藏的引脚 原因:隐藏的引脚未显示出来 3:Net +5V has no driving source(......) +5V无驱动 原因:在电路中,电源和地 ...
分类:
其他好文 时间:
2018-11-16 10:31:53
阅读次数:
256
传送门:点我 A plane is flying at a constant height of hh meters above the ground surface. Let's consider that it is flying from the point (?10^9,h)(?10^9,h ...
分类:
其他好文 时间:
2018-11-15 00:13:48
阅读次数:
281
Consider a tree T with N (1 <= N <= 20,000) nodes numbered 1...N. Deleting any node from the tree yields a forest: a collection of one or more trees. ...
分类:
其他好文 时间:
2018-11-14 21:03:04
阅读次数:
156
在controller层注入ConfigBean,编译器报错: 一开是以为是intellij idea 的告警级别设定的问题,就没有在意,继续启动项目,结果控制台报错:Consider defining a bean of type 'XXX' in your configuration. 错误信息 ...
分类:
其他好文 时间:
2018-11-13 18:06:38
阅读次数:
5146
A sorted list A contains 1, plus some number of primes. Then, for every p < q in the list, we consider the fraction p/q. What is the K-th smallest fra ...
分类:
其他好文 时间:
2018-11-09 20:52:52
阅读次数:
296
https://leetcode.com/problems/leaf-similar-trees/discuss/152358/Simple-6-lines-Java-StringBuilder-+-traverse-with-explanation Consider all the leaves ... ...
分类:
其他好文 时间:
2018-11-08 18:30:29
阅读次数:
148
There's an interesting issue one has to consider when mixing function overloading with templates in C++. The problem with templates is that they are u ...
分类:
其他好文 时间:
2018-11-06 11:08:49
阅读次数:
130
序列的通用操作 Python包含6种内建的序列:列表,元组,字符串,Unicode字符串,buffer对象和xrang对象。 所有序列类型都可以进行某些特定的操作。这些操作包括但不限于:索引(indexing),分片(slicing),加(adding),乘(multiplying),以及成员资格( ...
分类:
其他好文 时间:
2018-11-03 12:39:33
阅读次数:
226
Consider a positive integer N written in standard notation with k+1 digits a?i?? as a?k???a?1??a?0?? with 0≤a?i??<10for all i and a?k??>0. Then N is p ...
分类:
其他好文 时间:
2018-11-01 16:07:47
阅读次数:
160