码迷,mamicode.com
首页 >  
搜索关键字:assume    ( 1858个结果
LeetCode 1
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 input would have ex ...
分类:其他好文   时间:2018-09-01 20:40:03    阅读次数:156
[LeetCode&Python] Problem1: Two Sum
Problem Description: Given an array of integers, return indices of the two numbers such that they add up to a specific target. You may assume that eac ...
分类:编程语言   时间:2018-08-24 23:41:35    阅读次数:196
106. Construct Binary Tree from Inorder and Postorder Traversal根据后中序数组恢复出原来的树
[抄题]: Given inorder and postorder traversal of a tree, construct the binary tree. Note:You may assume that duplicates do not exist in the tree. For ex ...
分类:编程语言   时间:2018-08-24 00:39:40    阅读次数:136
【PAT】1052 Linked List Sorting (25)(25 分)
A linked list consists of a series of structures, which are not necessarily adjacent in memory. We assume that each structure contains an integer key ...
分类:其他好文   时间:2018-08-23 19:27:15    阅读次数:125
leetcode
1、Two Sum 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 input wou ...
分类:其他好文   时间:2018-08-23 16:52:04    阅读次数:190
poj 1328 Radar Installation
Description Assume the coasting is an infinite straight line. Land is in one side of coasting, sea in the other. Each small island is a point locating ...
分类:其他好文   时间:2018-08-23 00:15:15    阅读次数:231
[LeetCode] 7. Reverse Integer
Given a 32 bit signed integer, reverse digits of an integer. Example 1: Example 2: Example 3: Note: Assume we are dealing with an environment which co ...
分类:其他好文   时间:2018-08-21 13:55:49    阅读次数:143
PAT 1118 Birds in Forest
Some scientists took pictures of thousands of birds in a forest. Assume that all the birds appear in the same picture belong to the same tree. You are ...
分类:其他好文   时间:2018-08-19 19:06:06    阅读次数:151
98. Validate Binary Search Tree
Given a binary tree, determine if it is a valid binary search tree (BST). Assume a BST is defined as follows: The left subtree of a node contains only ...
分类:其他好文   时间:2018-08-19 13:58:11    阅读次数:130
105. Construct Binary Tree from Preorder and Inorder Traversal
Given preorder and inorder traversal of a tree, construct the binary tree. Note:You may assume that duplicates do not exist in the tree. For example, ...
分类:其他好文   时间:2018-08-19 13:57:40    阅读次数:107
1858条   上一页 1 ... 27 28 29 30 31 ... 186 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!