①英文题目: Given an array of integers and an integer k, find out whether there are two distinct indices i and j in the array such that nums[i] = nums[j] a ...
分类:
其他好文 时间:
2019-09-15 01:16:06
阅读次数:
93
①英文题目 Given two sorted integer arrays nums1 and nums2, merge nums2 into nums1 as one sorted array. Note: The number of elements initialized in nums1 a ...
分类:
编程语言 时间:
2019-09-15 01:12:03
阅读次数:
89
On a mysterious island there are creatures known as Quxes which come in three colors: red, green, and blue. One power of the Qux is that if two of the ...
分类:
其他好文 时间:
2019-09-14 10:30:32
阅读次数:
110
Two organizations International Community for Preservation of Constructions (ICPC) and Japanese Archaeologist Group (JAG) engage in ruins preservation ...
分类:
编程语言 时间:
2019-09-14 00:45:45
阅读次数:
119
1.两数之和 总结:熟悉了HashMap的使用 2. 总结:为了好的扩展性,使用StringBuilder来创建,之后用到了str.reverse()方法和此处Integer.parseInt(str.reverse().toString())的妙用,以及对于负数的机智处理 ...
分类:
其他好文 时间:
2019-09-13 22:36:51
阅读次数:
89
小说第2章 我们的飞机很快就到达了XXXoj 这一次随行的还有三位管理员:chen_zhe,lin_toto,soha chen_zhe带领84个人,我们被分到了一队。 three,two,one!跳伞! 我们84个人降落在了XXXoj的其中一个城市里。 几个警卫趾高气扬地走了过来,问我们是谁。 空 ...
分类:
其他好文 时间:
2019-09-13 22:30:12
阅读次数:
128
1. Two Sum Easy Given an array of integers, return indices of the two numbers such that they add up to a specific target. You may assume that each inp ...
分类:
其他好文 时间:
2019-09-13 22:25:49
阅读次数:
95
Binary Tree Traversals Problem Description A binary tree is a finite set of vertices that is either empty or consists of a root r and two disjoint bin ...
分类:
其他好文 时间:
2019-09-13 17:43:06
阅读次数:
84
Rules: 1,Any live cell with fewer than two live neighbors dies, as if caused by under-population. 2,Any live cell with two or three live neighbors liv ...
分类:
其他好文 时间:
2019-09-13 15:52:01
阅读次数:
88
2557: Above the Median 题目描述 Farmer John has lined up his N (1 <= N <= 100,000) cows in a row to measure their heights; cow i has height H_i (1 <= H_i ...
分类:
其他好文 时间:
2019-09-13 15:49:29
阅读次数:
88