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
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
[抄题]: 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
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
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
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
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
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
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
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