码迷,mamicode.com
首页 >  
搜索关键字:suppose    ( 588个结果
1148 Werewolf - Simple Version (20分)
Werewolf(狼人杀) is a game in which the players are partitioned into two parties: the werewolves and the human beings. Suppose that in a game, player #1 ...
分类:其他好文   时间:2020-05-02 14:51:55    阅读次数:49
Find Minimum in Rotated Sorted Array II
Problem Suppose a sorted array is rotated at some pivot unknown to you beforehand. (i.e., 0 1 2 4 5 6 7 might become 4 5 6 7 0 1 2). Find the minimum ...
分类:其他好文   时间:2020-04-26 12:31:47    阅读次数:51
1119 Pre- and Post-order Traversals
Suppose that all the keys in a binary tree are distinct positive integers. A unique binary tree can be determined by a given pair of postorder and ino ...
分类:其他好文   时间:2020-04-24 13:10:38    阅读次数:61
1127 ZigZagging on a Tree
Suppose that all the keys in a binary tree are distinct positive integers. A unique binary tree can be determined by a given pair of postorder and ino ...
分类:其他好文   时间:2020-04-22 12:51:03    阅读次数:65
1086 Tree Traversals Again
An inorder binary tree traversal can be implemented in a non-recursive way with a stack. For example, suppose that when a 6-node binary tree (with the ...
分类:其他好文   时间:2020-04-06 00:21:55    阅读次数:65
03-树3 Tree Traversals Again (25分)
题目描述 An inorder binary tree traversal can be implemented in a non recursive way with a stack. For example, suppose that when a 6 node binary tree (wit ...
分类:其他好文   时间:2020-03-21 18:17:53    阅读次数:52
PAT 1014 Waiting in Line (模拟)
Suppose a bank has N windows open for service. There is a yellow line in front of the windows which devides the waiting area into two parts. The rules ...
分类:其他好文   时间:2020-02-26 18:40:18    阅读次数:62
[Algorithm] 474. Ones and Zeroes
In the computer world, use restricted resource you have to generate maximum benefit is what we always want to pursue. For now, suppose you are a domin ...
分类:其他好文   时间:2020-02-20 09:18:04    阅读次数:62
1046. Last Stone Weight
We have a collection of rocks, each rock has a positive integer weight. Each turn, we choose the two heaviest rocks and smash them together. Suppose t ...
分类:其他好文   时间:2020-01-31 14:13:17    阅读次数:78
LeetCode474 - Ones and Zeros - Medium (Python)
In the computer world, use restricted resource you have to generate maximum benefit is what we always want to pursue. For now, suppose you are a domin ...
分类:编程语言   时间:2020-01-31 12:43:32    阅读次数:85
588条   上一页 1 2 3 4 5 ... 59 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!