码迷,mamicode.com
首页 >  
搜索关键字:suppose    ( 588个结果
605. Can Place Flowers【easy】
605. Can Place Flowers【easy】 Suppose you have a long flowerbed in which some of the plots are planted and some are not. However, flowers cannot be pla ...
分类:其他好文   时间:2017-09-17 20:12:48    阅读次数:225
526. Beautiful Arrangement (Medium)
Suppose you have N integers from 1 to N. We define a beautiful arrangement as an array that is constructed by these N numbers successfully if one of t ...
分类:其他好文   时间:2017-09-14 16:47:03    阅读次数:140
LeetCode Minimum Index Sum of Two Lists
原题链接在这里:https://leetcode.com/problems/minimum-index-sum-of-two-lists/description/ 题目: Suppose Andy and Doris want to choose a restaurant for dinner, a ...
分类:其他好文   时间:2017-09-14 10:39:45    阅读次数:121
poj1195
Suppose that the fourth generation mobile phone base stations in the Tampere area operate as follows. The area is divided into squares. The squares fo ...
分类:其他好文   时间:2017-09-12 21:21:27    阅读次数:168
LeetCode 277. Find the Celebrity (找到明星)$
Suppose you are at a party with n people (labeled from 0 to n - 1) and among them, there may exist one celebrity. The definition of a celebrity is tha ...
分类:其他好文   时间:2017-09-10 11:13:09    阅读次数:134
HDU 1517: kiki's game
/** * @link http://acm.hdu.edu.cn/showproblem.php?pid=1517 * @author Sycamore * @date Aug, 21 */// Suppose that their exists a direction(vertically or... ...
分类:其他好文   时间:2017-08-21 21:57:26    阅读次数:233
Leetcode[33]-Search in Rotated Sorted Array
Link: https://leetcode.com/problems/search-in-rotated-sorted-array/ Suppose a sorted array is rotated at some pivot unknown to you beforehand. (i.e., ...
分类:其他好文   时间:2017-08-13 20:05:52    阅读次数:156
605. Can Place Flowers种花问题【leetcode】
Suppose you have a long flowerbed in which some of the plots are planted and some are not. However, flowers cannot be planted in adjacent plots - they ...
分类:其他好文   时间:2017-08-12 16:14:37    阅读次数:563
ZOJ 1002 DFS
Suppose that we have a square city with straight streets. A map of a city is a square board with n rows and n columns, each representing a street or a ...
分类:其他好文   时间:2017-08-07 01:35:31    阅读次数:262
leetcode 656. Coin Path
Given an array A (index starts at 1) consisting of N integers: A1, A2, ..., AN and an integer B. The integer B denotes that from any place (suppose th ...
分类:其他好文   时间:2017-08-06 23:13:30    阅读次数:406
588条   上一页 1 ... 18 19 20 21 22 ... 59 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!