码迷,mamicode.com
首页 >  
搜索关键字:complexity    ( 1097个结果
LeetCodeMerge k Sorted Lists
Merge k sorted linked lists and return it as one sorted list. Analyze and describe its complexity. 对每一个排序链表都设置一个指针。每次讲指针指向的单元中最小值链接,直到所有指针为空。 public c...
分类:其他好文   时间:2014-05-28 09:59:54    阅读次数:263
How to Change Password Complexity Requirements in Windows XP
Original Link:http://www.ehow.com/how_4812793_password-complexity-requirements-windows-xp.html#ixzz32PEZAbOnWhen you create a new account in Windows X...
分类:Windows程序   时间:2014-05-26 23:40:52    阅读次数:473
Virtualization Basics
Virtualization Basics Virtualization is not a new concept, but its complexity has been growing, and a number of new paradigms are rising. I will try t...
分类:其他好文   时间:2014-05-26 12:08:01    阅读次数:381
【LeetCode】Single Number
原文: Given an array of integers, every element appears twice except for one. Find that single one. Note: Your algorithm should have a linear runtime complexity. Could you implement it without ...
分类:其他好文   时间:2014-05-25 21:30:02    阅读次数:276
LeetCode: Minimum Window Substring
Given a string S and a string T, find the minimum window in S which will contain all the characters in T in complexity O(n).For example, S = "ADOBECOD...
分类:Windows程序   时间:2014-05-24 11:19:26    阅读次数:399
Single Number
Given an array of integers, every element appearstwiceexcept for one. Find that single one.Note:Your algorithm should have a linear runtime complexity...
分类:其他好文   时间:2014-05-22 16:31:03    阅读次数:194
LeetCode: Search for a Range [033]
【题目】 Given a sorted array of integers, find the starting and ending position of a given target value. Your algorithm's runtime complexity must be in the order of O(log n). If the target is not found in the array, return [-1, -1]. For example, Given [5...
分类:其他好文   时间:2014-05-22 06:44:39    阅读次数:265
zoj 2853 Evolution(矩阵快速幂)
Evolution is a long, long process with extreme complexity and involves many species. Dr. C. P. Lottery is currently investigating a simplified model of evolution: consider that we haveN (2 N N -1, a...
分类:其他好文   时间:2014-05-21 13:43:27    阅读次数:444
LeetCode:Single Number II
题目:     Given an array of integers, every element appears three times except for one. Find that single one.     Note:     Your algorithm should have a linear runtime complexity. Could you implem...
分类:其他好文   时间:2014-05-20 16:22:52    阅读次数:241
LeetCode: Merge k Sorted Lists [022]
【题目】 Merge k sorted linked lists and return it as one sorted list. Analyze and describe its complexity. 【题意】 合并K个有序链表 【思路】 归并 Given n pairs of parentheses, write a function to generate all combinations of well-formed parentheses. For ...
分类:其他好文   时间:2014-05-18 09:05:40    阅读次数:255
1097条   上一页 1 ... 107 108 109 110 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!