码迷,mamicode.com
首页 >  
搜索关键字:python objects all    ( 160304个结果)
[leetcode] Permutations
Given a collection of numbers, return all possible permutations.
分类:其他好文   时间:2014-06-27 12:19:22    阅读次数:241
[leetcode] Remove Element
Given an array and a value, remove all instances of that value in place and return the new length.
分类:其他好文   时间:2014-06-27 12:17:58    阅读次数:156
[leetcode] 4Sum
Given an array S of n integers, are there elements a, b, c, and d in S such that a + b + c + d = target? Find all unique quadruplets in the array whic...
分类:其他好文   时间:2014-06-27 12:13:18    阅读次数:207
[leetcode] Combination Sum
Given a set of candidate numbers (C) and a target number (T), find all unique combinations in C where the candidate numbers sums to T.
分类:其他好文   时间:2014-06-27 12:11:50    阅读次数:337
Python基于比较的排序
排序是算法学习中最基本的问题。1.平均时间复杂度均为O(N2)的排序1.1 插入排序插入排序对少量元素的排序非常有效。工作机制就像打牌一样,为了将牌插入到已排好序的牌中,需要将牌与手中的牌从右向左进行比较。def insertionSort(alist): n=len(alist) fo...
分类:编程语言   时间:2014-06-27 12:07:54    阅读次数:338
[leetcode] Merge Intervals
Given a collection of intervals, merge all overlapping intervals.
分类:其他好文   时间:2014-06-27 11:59:41    阅读次数:169
[leetcode] Spiral Matrix
Given a matrix of m x n elements (m rows, n columns), return all elements of the matrix in spiral order.
分类:其他好文   时间:2014-06-27 11:51:13    阅读次数:193
[leetcode] Permutations II
Given a collection of numbers that might contain duplicates, return all possible unique permutations.
分类:其他好文   时间:2014-06-27 11:47:58    阅读次数:166
Sql Server 2005 开发版亲測可用下载地址
sqlserver2005开发版下载地址:http://222.132.81.146/rj/cs_sql_2005_dev_all_dvd.rar建议使用迅雷下载。sql server 2005 开发版迅雷下载地址:thunder://QUFodHRwOi8vMjIyLjEzMi44MS4xNDYv...
分类:数据库   时间:2014-06-27 11:36:20    阅读次数:374
[leetcode] Anagrams
Given an array of strings, return all groups of strings that are anagrams.
分类:其他好文   时间:2014-06-27 11:34:57    阅读次数:641
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!