// Place your settings in this file to overwrite the default settings { "files.autoGuessEncoding": true, "files.associations": { "*.wxss": "css", "*.w ...
分类:
Web程序 时间:
2018-12-31 17:32:45
阅读次数:
288
Given a binary tree, flatten it to a linked list in-place. For example, given the following tree: The flattened tree should look like: 每个节点的右节点都是preor ...
分类:
其他好文 时间:
2018-12-31 17:24:40
阅读次数:
142
题目: You are given an n x n 2D matrix representing an image. Rotate the image by 90 degrees (clockwise). Note: You have to rotate the image in-place, w ...
分类:
编程语言 时间:
2018-12-30 16:28:04
阅读次数:
203
官方的in-place upgrade直接在线升级,但问题是只能一个一个版本的升无法做到跨版本升级,如果一次跨越多个版本,并且集群规模比较大的化,就需要花费很长的时间了。 实际生产过程中因为是分布式环境,所以机器量一般都比较大,官方升级模式有一个好处就是始终能够对外提供服务。 问题是连续升级的时间消 ...
分类:
其他好文 时间:
2018-12-29 01:07:47
阅读次数:
415
原文标题:Cache: a place for concealment and safekeeping 原文地址:http://duartes.org/gustavo/blog/ [注:本人水平有限,只好挑一些国外高手的精彩文章翻译一下。一来自己复习,二来与大家分享。] 本文简要的展示了现代Inte ...
分类:
系统相关 时间:
2018-12-27 18:37:15
阅读次数:
244
Convert a BST to a sorted circular doubly-linked list in-place. Think of the left and right pointers as synonymous to the previous and next pointers i ...
分类:
其他好文 时间:
2018-12-27 10:23:29
阅读次数:
178
"1664:Placing apples" 总时间限制: 1000ms 内存限制: 65536kB 描述 We are going to place M same apples into N same plates. There could be some empty plates. How man ...
分类:
移动开发 时间:
2018-12-24 02:49:34
阅读次数:
159
首先可以想到逐步移位,但是这种方法显然太浪费时间,不可取。下面介绍利器『三步翻转法』,以[4, 5, 1, 2, 3]为例。 由以上3个步骤可知其核心为『翻转』的in-place实现。使用两个指针,一个指头,一个指尾,使用for循环移位交换即可 JAVA: C++: 源码分析 首先找到分割点,随后分 ...
分类:
其他好文 时间:
2018-12-20 14:24:43
阅读次数:
196
You are given an n x n 2D matrix representing an image. Rotate the image by 90 degrees (clockwise). Note: You have to rotate the image in-place, which ...
分类:
其他好文 时间:
2018-12-18 11:02:32
阅读次数:
192
How to Deploy Google BBR on CentOS 7 Published on: Thu, Jan 5, 2017 at 6:34 pm EST CentOS Linux Guides Networking System Admin How to Deploy Google BB ...
分类:
其他好文 时间:
2018-12-13 17:49:30
阅读次数:
224