码迷,mamicode.com
首页 >  
搜索关键字:problems    ( 6275个结果
Remove Duplicates from Sorted Array
https://oj.leetcode.com/problems/remove-duplicates-from-sorted-array/Given a sorted array, remove the duplicates in place such that each element appea...
分类:其他好文   时间:2015-02-03 22:34:48    阅读次数:208
Sort Colors
https://oj.leetcode.com/problems/sort-colors/Given an array withnobjects colored red, white or blue, sort them so that objects of the same color are a...
分类:其他好文   时间:2015-02-03 21:20:00    阅读次数:213
Container With Most Water
https://oj.leetcode.com/problems/container-with-most-water/Givennnon-negative integersa1,a2, ...,an, where each represents a point at coordinate (i,ai...
分类:其他好文   时间:2015-02-03 20:55:30    阅读次数:132
[Leetcode][Python]33: Search in Rotated Sorted Array
# -*- coding: utf8 -*-'''__author__ = 'dabay.wang@gmail.com'33: Search in Rotated Sorted Arrayhttps://oj.leetcode.com/problems/search-in-rotated-sorte...
分类:编程语言   时间:2015-02-03 01:52:49    阅读次数:218
Remove Element
https://oj.leetcode.com/problems/remove-element/Given an array and a value, remove all instances of that value in place and return the new length.The ...
分类:其他好文   时间:2015-02-03 00:33:05    阅读次数:197
LeetCode-Binary Tree Postorder Traversal
题目链接:https://oj.leetcode.com/problems/binary-tree-postorder-traversal/ 题目: Given a binary tree, return the postorder traversal of its nodes' values. For example: Given binary tree {1,#,2,3}, ...
分类:其他好文   时间:2015-02-02 23:22:05    阅读次数:312
Leetcode-Binary Tree Preorder Traversal
题目链接:https://oj.leetcode.com/problems/binary-tree-preorder-traversal/ 题目: Given a binary tree, return the preorder traversal of its nodes' values. For example: Given binary tree {1,#,2,3}, ...
分类:其他好文   时间:2015-02-02 23:21:43    阅读次数:327
LeetCode-Binary Tree Inorder Traversal
题目链接:https://oj.leetcode.com/problems/binary-tree-inorder-traversal/ 题目: Given a binary tree, return the inorder traversal of its nodes' values. For example: Given binary tree {1,#,2,3}, ...
分类:其他好文   时间:2015-02-02 23:21:23    阅读次数:294
Swap Nodes in Pairs
https://oj.leetcode.com/problems/swap-nodes-in-pairs/Given a linked list, swap every two adjacent nodes and return its head.For example,Given1->2->3->...
分类:其他好文   时间:2015-02-02 22:57:49    阅读次数:217
Two Sum
link:https://oj.leetcode.com/problems/two-sum/ 描述: Given an array of integers, find two numbers such that they add up to a specific target number. The function twoSum should return indices of...
分类:其他好文   时间:2015-02-02 21:33:09    阅读次数:138
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!