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
Merge two sorted linked lists and return it as a new list. The new list should be made by splicing together the nodes of the first two lists. var merg ...
分类:
其他好文 时间:
2017-10-20 16:49:12
阅读次数:
154
A traveler's map gives the distances between cities along the highways, together with the cost of each highway. Now you are supposed to write a progra ...
分类:
其他好文 时间:
2017-10-19 19:42:01
阅读次数:
167
原题链接在这里:https://leetcode.com/problems/count-binary-substrings/description/ 题目: Give a string s, count the number of non-empty (contiguous) substrings ...
分类:
其他好文 时间:
2017-10-18 10:14:49
阅读次数:
163
1、hashmap基本操作 2、hash function,equals函数,hashCode 3、练习题 1)Two Sum Given an array of integers, return indices of the two numbers suchthat they add up to ...
分类:
其他好文 时间:
2017-10-17 23:01:19
阅读次数:
324
Given a non-empty string check if it can be constructed by taking a substring of it and appending multiple copies of the substring together. You may a ...
分类:
其他好文 时间:
2017-10-17 12:30:40
阅读次数:
121
题目链接:https://vjudge.net/problem/ZOJ-3261 In order to strengthen the defense ability, many stars in galaxy allied together and built many bidirectional ...
分类:
其他好文 时间:
2017-10-14 16:46:08
阅读次数:
182
21. Merge Two Sorted Lists【easy】 Merge two sorted linked lists and return it as a new list. The new list should be made by splicing together the nodes ...
分类:
其他好文 时间:
2017-10-14 15:07:16
阅读次数:
141
Merge two sorted (ascending) linked lists and return it as a new sorted list. The new sorted list should be made by splicing together the nodes of the ...
分类:
其他好文 时间:
2017-10-13 14:07:16
阅读次数:
136
P3467 [POI2008]PLA-Postering P3467 [POI2008]PLA-Postering P3467 [POI2008]PLA-Postering 题目描述 All the buildings in the east district of Byteburg were bu ...
分类:
其他好文 时间:
2017-10-11 19:19:51
阅读次数:
188