码迷,mamicode.com
首页 >  
搜索关键字:assume    ( 1858个结果
303. Range Sum Query - Immutable
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
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 cou ...
分类:其他好文   时间:2019-10-13 19:00:06    阅读次数:77
LC 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 would ha ...
分类:其他好文   时间:2019-09-30 20:15:05    阅读次数:119
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 cou ...
分类:其他好文   时间:2019-09-19 23:36:49    阅读次数:95
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 have ex ...
分类:其他好文   时间:2019-09-15 11:37:10    阅读次数:103
LeetCode_1. Two Sum
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
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
230. Kth Smallest Element in a BST
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
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 example, ...
分类:其他好文   时间:2019-09-01 10:42:11    阅读次数:87
1. Two Sum
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
1858条   上一页 1 ... 8 9 10 11 12 ... 186 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!