码迷,mamicode.com
首页 >  
搜索关键字:suppose    ( 588个结果
1127 ZigZagging on a Tree (30 分)树的层次遍历
1127 ZigZagging on a Tree (30 分) Suppose that all the keys in a binary tree are distinct positive integers. A unique binary tree can be determined by ...
分类:其他好文   时间:2019-01-22 14:26:39    阅读次数:687
PTA-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 r ...
分类:其他好文   时间:2019-01-22 14:23:55    阅读次数:93
406. Queue Reconstruction by Height
Suppose you have a random list of people standing in a queue. Each person is described by a pair of integers (h, k), where h is the height of the pers ...
分类:其他好文   时间:2019-01-11 11:29:44    阅读次数:187
1020 Tree Traversals (25 分)
Suppose that all the keys in a binary tree are distinct positive integers. Given the postorder and inorder traversal sequences, you are supposed to ou ...
分类:其他好文   时间:2019-01-06 14:22:02    阅读次数:165
名人问题 算法 时间复杂度
这是一道leetcode上面的题目,同时也是Anany的算法书的一道课后题 题目贴在这里 Suppose you are at a party with n people (labeled from 0 to n - 1) and among them, there may exist one ce ...
分类:编程语言   时间:2019-01-06 11:59:49    阅读次数:253
1017 Queueing at Bank (我自己写的模拟时间的版本)
Suppose a bank has K windows open for service. There is a yellow line in front of the windows which devides the waiting area into two parts. All the c ...
分类:其他好文   时间:2019-01-05 22:52:12    阅读次数:199
PAT 甲级 1020 Tree Traversals
https://pintia.cn/problem-sets/994805342720868352/problems/994805485033603072 Suppose that all the keys in a binary tree are distinct positive integer ...
分类:其他好文   时间:2018-12-29 11:57:06    阅读次数:175
LeetCode 599. Minimum Index Sum of Two Lists
Suppose Andy and Doris want to choose a restaurant for dinner, and they both have a list of favorite restaurants represented by strings. You need to h ...
分类:其他好文   时间:2018-12-05 23:21:52    阅读次数:273
#Leetcode# 154. Find Minimum in Rotated Sorted Array II
https://leetcode.com/problems/find-minimum-in-rotated-sorted-array-ii/ Suppose an array sorted in ascending order is rotated at some pivot unknown to ...
分类:其他好文   时间:2018-11-28 22:18:15    阅读次数:179
#Leetcode# 153. Find Minimum in Rotated Sorted Array
https://leetcode.com/problems/find-minimum-in-rotated-sorted-array/ Suppose an array sorted in ascending order is rotated at some pivot unknown to you ...
分类:其他好文   时间:2018-11-28 22:07:05    阅读次数:165
588条   上一页 1 ... 8 9 10 11 12 ... 59 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!