Given an integer array nums, find the sum of the elements between indices i and j (i ≤ j), inclusive. Example: Note: You may assume that the array doe ...
分类:
其他好文 时间:
2019-10-17 12:01:59
阅读次数:
83
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 cou ...
分类:
其他好文 时间:
2019-10-13 19:00:06
阅读次数:
77
题目介绍 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 ha ...
分类:
其他好文 时间:
2019-09-30 20:15:05
阅读次数:
119
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 cou ...
分类:
其他好文 时间:
2019-09-19 23:36:49
阅读次数:
95
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 ...
分类:
其他好文 时间:
2019-09-15 11:37:10
阅读次数:
103
1. Two Sum Easy 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 inp ...
分类:
其他好文 时间:
2019-09-13 22:25:49
阅读次数:
95
Weapon Time Limit: 1000 msMemory Limit: 32768 KB In World War 3, your countries' scientists have invented a special weapon. Assume that the enemy's ci ...
分类:
其他好文 时间:
2019-09-06 01:10:47
阅读次数:
99
Given a binary search tree, write a function kthSmallest to find the kth smallest element in it. Note: You may assume k is always valid, 1 ≤ k ≤ BST's ...
分类:
其他好文 时间:
2019-09-03 11:32:27
阅读次数:
70
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 example, ...
分类:
其他好文 时间:
2019-09-01 10:42:11
阅读次数:
87
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 would ...
分类:
其他好文 时间:
2019-08-28 01:16:26
阅读次数:
80