7091 Height Ordering Mrs. Chambers always has her class line up in height order (shortest at the front of the line). EverySeptember a new class of exa ...
分类:
其他好文 时间:
2019-03-04 09:22:46
阅读次数:
168
Two elements of a binary search tree (BST) are swapped by mistake. Recover the tree without changing its structure. Example 1: Example 2: Follow up: A ...
分类:
其他好文 时间:
2019-03-02 13:43:24
阅读次数:
172
题目: Reverse a singly linked list. Example: Follow up: A linked list can be reversed either iteratively or recursively. Could you implement both? 分析: 分 ...
分类:
编程语言 时间:
2019-03-02 00:52:02
阅读次数:
223
问题 解决 failed: rpc error: code = Unknown desc = NetworkPlugin cni failed to set up pod "*****" network: failed to set bridge addr: "cni0" already has a ...
分类:
其他好文 时间:
2019-03-01 12:33:59
阅读次数:
511
[CF1065F]Up and Down the Tree,算法:树形dp ...
分类:
其他好文 时间:
2019-02-28 13:20:35
阅读次数:
149
Given a singly linked list, determine if it is a palindrome. Example 1: Example 2: Follow up:Could you do it in O(n) time and O(1) space? ...
分类:
其他好文 时间:
2019-02-27 13:22:41
阅读次数:
182
1.事件分发机制概述和原理 答:第一,分发的事件是什么?是down,move,up。 第二,分发的顺序是什么?是activity→window→rootviiew(decorview)→view。 而最后的view是viewgroup和view的集合。 1)如果是传到了viewgroup,首先调用其 ...
分类:
移动开发 时间:
2019-02-26 23:37:06
阅读次数:
253
【链接】 "我是链接,点我呀:)" 【题意】 每个人都有自己喜欢的队员 但是如果贿赂他们可以让他们更改自己喜欢的队员 问你最少要花多少钱贿赂队员才能让1号队员严格有最多的人喜欢? 【题解】 除了1号之外,其他队员最后喜欢的人数不太好确定。 我们可以这样,用up枚举其他人最后喜欢的人数的上限(即除了1 ...
分类:
其他好文 时间:
2019-02-26 20:59:23
阅读次数:
181
通过某表某字段的更新指定值的触发来更新另一表字段值。 CREATE DEFINER=`iZX`@`%` TRIGGER `up_factory` AFTER UPDATE ON `ordinfo `FOR EACH ROW BEGINSET @orderStatus = (SELECT status ...
分类:
其他好文 时间:
2019-02-26 19:22:31
阅读次数:
189
使用过 Springboot 的对上面这个图案肯定不会陌生,Springboot 启动的同时会打印上面的图案,并带有版本号。查看官方文档可以找到关于 banner 的描述 The banner that is printed on start up can be changed by adding ...
分类:
编程语言 时间:
2019-02-26 00:44:44
阅读次数:
252