码迷,mamicode.com
首页 >  
搜索关键字:leecode duplicates    ( 1908个结果
[Leetcode] Remove Duplicates from Sorted Array
Given a sorted array, remove the duplicates in place such that each element appear onlyonceand return the new length.Do not allocate extra space for a...
分类:其他好文   时间:2014-11-14 17:21:06    阅读次数:250
Remove Duplicates from Sorted Array
Remove Duplicates from Sorted ArrayGiven a sorted array, remove the duplicates in place such that each element appear only once and return the new len...
分类:其他好文   时间:2014-11-14 12:18:21    阅读次数:89
Remove Duplicates from Sorted List
Given a sorted linked list, delete all duplicates such that each element appear onlyonce.For example,Given1->1->2, return1->2.Given1->1->2->3->3, retu...
分类:其他好文   时间:2014-11-14 10:29:38    阅读次数:157
[Leetcode] Subsets II
Given a collection of integers that might contain duplicates,S, return all possible subsets.Note:Elements in a subset must be in non-descending order....
分类:其他好文   时间:2014-11-13 09:24:37    阅读次数:148
[Leetcode] Permutations II
Given a collection of numbers that might contain duplicates, return all possible unique permutations.For example,[1,1,2]have the following unique perm...
分类:其他好文   时间:2014-11-13 06:59:23    阅读次数:166
leetcode-Remove Duplicates from Sorted Array
leetcode-Remove Duplicates from Sorted Array  Given a sorted array, remove the duplicates in place such that each element appear only once and return the new length. Do not allocate extra spac...
分类:其他好文   时间:2014-11-12 16:39:30    阅读次数:197
[leetcode]Subsets II
问题描述: Given a collection of integers that might contain duplicates, S, return all possible subsets. Note: Elements in a subset must be in non-descending order.The solution set must not conta...
分类:其他好文   时间:2014-11-12 13:52:10    阅读次数:184
LeeCode---Add Two Numbers
You are given two linked lists representing two non-negative numbers. The digits are stored in reverse order and each of their nodes contain a single digit. Add the two numbers and return it as a link...
分类:其他好文   时间:2014-11-11 22:56:05    阅读次数:218
LeeCode-Reverse Integer
Reverse digits of an integer. Example1: x = 123, return 321 Example2: x = -123, return -321 class Solution { public: int reverse(int x) { int Answer=0; ...
分类:其他好文   时间:2014-11-11 22:53:55    阅读次数:203
Remove Duplicates from Sorted Array
Remove Duplicates from Sorted ArrayGiven a sorted array, remove the duplicates in place such that each element appear onlyonceand return the new lengt...
分类:其他好文   时间:2014-11-11 12:22:39    阅读次数:144
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!