Hie with the Pie POJ - 3311 The Pizazz Pizzeria prides itself in delivering pizzas to its customers as fast as possible. Unfortunately, due to cutback ...
分类:
其他好文 时间:
2019-01-19 11:10:26
阅读次数:
142
tf.Session()和tf.InteractiveSession()的区别 官方tutorial是这么说的: The only difference with a regular Session is that an InteractiveSession installs itself as t ...
分类:
其他好文 时间:
2019-01-18 17:24:17
阅读次数:
190
ERROR: type "enum_xxx_status" already exist reason: Dropping an enum column does not drop the enum itself. Postgre issue https://github.com/sequelize/ ...
分类:
编程语言 时间:
2019-01-05 13:36:37
阅读次数:
206
1. The code itself. The most obvious value in code review is often framed in “catching bugs”. (能查出bug) 2. Macro level knowledge sharing.When you revie ...
分类:
其他好文 时间:
2019-01-05 00:50:44
阅读次数:
446
Given a binary tree, check whether it is a mirror of itself (ie, symmetric around its center). For example, this binary tree [1,2,2,3,4,4,3] is symmet ...
分类:
编程语言 时间:
2018-12-30 22:17:03
阅读次数:
160
Given a binary tree, we install cameras on the nodes of the tree. Each camera at a node can monitor its parent, itself, and its immediate children. Ca ...
分类:
其他好文 时间:
2018-12-30 22:00:35
阅读次数:
190
Given a binary tree, check whether it is a mirror of itself (ie, symmetric around its center). For example, this binary tree [1,2,2,3,4,4,3] is symmet ...
分类:
其他好文 时间:
2018-12-28 10:47:32
阅读次数:
141
题解1 - 左右分治 根据题意,有 result[i]=left[i]?right[i], 其中 left[i]=∏j(从左到右累乘), right[i]=∏j(从右到左累乘). 即将最后的乘积分为两部分求解,首先求得左半部分的值,然后求得右半部分的值。最后将左右两半部分乘起来即为解。 C++: 源 ...
分类:
其他好文 时间:
2018-12-23 19:35:25
阅读次数:
153
```
# Install pip for 2.7 and then python 2.7 itself
sudo apt install python-pip
sudo apt install python2.7 # Install pip for 3.6
sudo apt install pyt... ...
分类:
编程语言 时间:
2018-12-13 19:15:31
阅读次数:
184
Given a binary tree, check whether it is a mirror of itself (ie, symmetric around its center). For example, this binary tree [1,2,2,3,4,4,3] is symmet ...
分类:
其他好文 时间:
2018-11-21 19:46:08
阅读次数:
102