题目
Given an array of non-negative integers, you are initially positioned at the first index of the array.
Each element in the array represents your maximum jump length at that position.
...
分类:
其他好文 时间:
2014-06-19 10:05:39
阅读次数:
278
【Basics】1、You can declare multiple constants or multiple variables on a single line, separated by commas: 2、You can use almost any character you like....
分类:
其他好文 时间:
2014-06-15 22:01:43
阅读次数:
330
The following tips are designed to help you use the microwave bags, and usually on the back of each bag. Most of sterilization bags in the market, the...
分类:
其他好文 时间:
2014-06-15 20:50:27
阅读次数:
271
DescriptionIn modern society, each person has his own friends. Since all the people are very busy, they communicate with each other only by phone. You...
分类:
其他好文 时间:
2014-06-15 20:44:45
阅读次数:
162
1. Greeting message 祝福Hope you have a good trip.祝旅途愉快。How are you?你好吗?How is the project going on?项目进行顺利吗?2. Initiate a meeting 发起会议I suggest we have ...
分类:
其他好文 时间:
2014-06-15 20:40:09
阅读次数:
260
题目
Given a sorted array and a target value, return the index if the target is found. If not, return the index where it would be if it were inserted in order.
You may assume no duplicates i...
分类:
其他好文 时间:
2014-06-15 17:27:16
阅读次数:
251
You are given an n x n 2D matrix representing an image.
Rotate the image by 90 degrees (clockwise).
Follow up:
Could you do this in-place?
思路:第一种思路是一层一层的进行旋转,比较直观,但是花费的时间要久一些;第二种思路则比较取巧,首先沿着...
分类:
其他好文 时间:
2014-06-15 08:46:26
阅读次数:
170
===6.3.2使用string对象===
string word="I love China"
*链接字符串*
string description=adjective + " " + word;
_Note_: 不能连接两个字符串字面量,下面的语句是错误的
string test= "I have" + "a dream";
===6.3.3访问字符串中的字符...
分类:
编程语言 时间:
2014-06-13 21:39:55
阅读次数:
367
今天在209服务器上要远程登录另外一台54的服务器,结果用ssh连接提示如下错误:[root@NHL~]#sshroot@10.40.49.54
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@WARNING:REMOTEHOSTIDENTIFICATIONHASCHANGED!@
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@..
分类:
其他好文 时间:
2014-06-13 21:02:04
阅读次数:
326
Given a m x n grid filled with non-negative numbers, find a path from top left to bottom right which minimizes the sum of all numbers along its path.
Note: You can only move either down or right at...
分类:
其他好文 时间:
2014-06-13 20:36:56
阅读次数:
280