题号 题目链接 说明 基础 27 Remove Element 26 Remove Duplicates from Sorted Array 80 Remove Duplicates from Sorted Array II 277 Find the Celebrity 189 Rotate Arr ...
分类:
其他好文 时间:
2019-12-29 12:57:11
阅读次数:
77
Description Description Given n items with size nums[i] which an integer array and all positive numbers. An integer target denotes the size of a backp ...
分类:
其他好文 时间:
2019-12-21 22:50:22
阅读次数:
99
Description Given an integer array nums with all positive numbers and no duplicates, find the number of possible combinations that add up to a positiv ...
分类:
其他好文 时间:
2019-12-21 22:30:21
阅读次数:
119
Description Description Given an integer array nums[] which contains n unique positive numbers, num[i] indicate the size of ith item. An integer targe ...
分类:
其他好文 时间:
2019-12-21 22:18:52
阅读次数:
90
Description Description Given n distinct positive integers, integer k (k <= n) and a number target. Find k numbers where sum is target. Calculate how ...
分类:
其他好文 时间:
2019-12-21 22:15:15
阅读次数:
74
time limit per test3 secondsmemory limit per test256 megabytesinput: standard inputoutput: standard output There are n positive integers a1,a2,…,an. F ...
分类:
其他好文 时间:
2019-12-20 23:52:25
阅读次数:
105
Given three integers A, B and C in [?], you are supposed to tell whether A+B>C. Input Specification: The first line of the input gives the positive nu ...
分类:
其他好文 时间:
2019-12-19 16:08:27
阅读次数:
76
1008 Elevator 题目: The highest building in our city has only one elevator. A request list is made up with N positive numbers. The numbers denote at whi ...
分类:
其他好文 时间:
2019-12-17 20:52:13
阅读次数:
121
原题链接在这里:https://leetcode.com/problems/pancake-sorting/ 题目: Given an array A, we can perform a pancake flip: We choose some positive integer k <= A.len ...
分类:
其他好文 时间:
2019-12-16 10:09:00
阅读次数:
112
1122 Hamiltonian Cycle (25 分)The “Hamilton cycle problem” is to find a simple cycle that contains every vertex in a graph. Such a cycle is called a “H... ...
分类:
其他好文 时间:
2019-12-15 01:19:19
阅读次数:
86