Given a non-negative integernum, repeatedly add all its digits until the result has only one digit.For example:Givennum = 38, the process is like:3 + ...
分类:
其他好文 时间:
2015-10-06 18:07:20
阅读次数:
160
Greedy: remove earliest down-edge: like "54", "97".class Solution {public: /** *@param A: A positive integer which has N digits, A is a string....
分类:
其他好文 时间:
2015-10-05 01:55:06
阅读次数:
215
"Couple Trees" are two trees, a husband tree and a wife tree. They are named because they look like a couple leaning on each other. They share a sam.....
分类:
其他好文 时间:
2015-10-05 00:43:20
阅读次数:
472
1037774765 克隆1.创建一个用户redhat,其ID号为1001,基本组为like(组ID为2002),附近租为linux。groupadd -g 2002 likegroupadd linuxuseradd -u 1001 -g 2002 -G linux redhat2.创建一个用户f...
分类:
系统相关 时间:
2015-10-04 22:13:30
阅读次数:
342
一、zeromq简介zeromq的官方网站:http://zeromq.org/, 简介如下:ZeroMQ (also known as ØMQ, 0MQ, or zmq) looks like an embeddable networking library but acts like a con...
分类:
其他好文 时间:
2015-10-04 12:20:07
阅读次数:
235
10.2 How would you design the data structures for a very large social network like Facebook or Linkedln? Describe how you would design an algorithm to...
分类:
Web程序 时间:
2015-10-03 13:11:03
阅读次数:
229
The string"PAYPALISHIRING"is written in a zigzag pattern on a given number of rows like this: (you may want to display this pattern in a fixed font fo...
分类:
其他好文 时间:
2015-10-02 23:43:21
阅读次数:
297
1. Girls I like: White skin, Height upper 158cm, Good character.Examples: Glory Cheng, Caicai, Yajun Wang, Yang Zhang2. Girls I ever got along withNam...
分类:
其他好文 时间:
2015-10-02 18:38:17
阅读次数:
133
Download source - 45.3 KBIntroductionHello everyone! This is my first blog on WCF and I hope that you like it.Today, I will talk about how to implemen...
分类:
其他好文 时间:
2015-10-02 10:08:36
阅读次数:
327
[Problem]The string"PAYPALISHIRING"is written in a zigzag pattern on a given number of rows like this: (you may want to display this pattern in a fixe...
分类:
其他好文 时间:
2015-10-02 00:16:39
阅读次数:
203