House Man Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others) Total Submission(s): 2056 Accepted Submission(s): 811 Probl ...
分类:
其他好文 时间:
2017-11-01 16:31:15
阅读次数:
226
Given an integer array with even length, where different numbers in this array represent different kinds of candies. Each number means one candy of th ...
分类:
其他好文 时间:
2017-10-31 10:55:50
阅读次数:
144
Concepts: 1)combination of random and deterministic approaches 随机和确定性方法的组合 2)the concept of clustering 聚类的概念 3)the concept of a systematic evolution o ...
分类:
其他好文 时间:
2017-10-28 22:05:28
阅读次数:
262
一.“级联”调用 1.程序源代码 2.结果截图 二.String类的常见函数 1.Length():用一个String类的对象来调用,返回这个字符串的长度. eg.String str; int length = str.Length();//此时的length就是该字符串的长度 2.charAt( ...
分类:
编程语言 时间:
2017-10-28 12:42:14
阅读次数:
217
Initially, there is a Robot at position (0, 0). Given a sequence of its moves, judge if this robot makes a circle, which means it moves back to the or ...
分类:
其他好文 时间:
2017-10-28 12:38:22
阅读次数:
121
Description The cows, who always have an inferiority complex about their intelligence, have a new guessing game to sharpen their brains. A designated ...
分类:
其他好文 时间:
2017-10-27 21:24:58
阅读次数:
148
You are given two non-empty linked lists representing two non-negative integers. The most significant digit comes first and each of their nodes contai ...
分类:
其他好文 时间:
2017-10-25 16:42:09
阅读次数:
97
One way to serialize a binary tree is to use pre-order traversal. When we encounter a non-null node, we record the node's value. If it is a null node, ...
分类:
其他好文 时间:
2017-10-25 00:52:06
阅读次数:
202
Given n non-negative integers a1, a2, ..., an, where each represents a point at coordinate (i, ai). n vertical lines are drawn such that the two endpo... ...
分类:
其他好文 时间:
2017-10-24 00:13:43
阅读次数:
144
The count-and-say sequence is the sequence of integers with the first five terms as following: 1. 1 2. 11 3. 21 4. 1211 5. 111221 1 is read off as "on ...
分类:
其他好文 时间:
2017-10-22 00:10:29
阅读次数:
137