码迷,mamicode.com
首页 >  
搜索关键字:complexity    ( 1097个结果
LeetCode 4 Median of Two Sorted Array
There are two sorted arrays A and B of size m and n respectively. Find the median of the two sorted arrays. The overall run time complexity should be ...
分类:其他好文   时间:2015-04-09 21:37:24    阅读次数:109
[LeetCode]Find Minimum in Rotated Sorted Array II
Follow up for “Find Minimum in Rotated Sorted Array”: What if duplicates are allowed? Would this affect the run-time complexity? How and why? Suppose a sorted array is rotated at some pivot...
分类:其他好文   时间:2015-04-09 19:49:17    阅读次数:115
[LeetCode] Search for a Range 搜索一个范围
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 ord...
分类:其他好文   时间:2015-04-09 13:33:59    阅读次数:123
Median of Two Sorted Arrays 解法
There are two sorted arrays A and B of size m and n respectively. Find the median of the two sorted arrays. The overall run time complexity should be ...
分类:其他好文   时间:2015-04-06 00:55:26    阅读次数:197
[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 implement it without using ex...
分类:其他好文   时间:2015-04-05 14:42:18    阅读次数:138
Leetcode 172 Factorial Trailing Zeroes
1、题目要求Given an integern, return the number of trailing zeroes inn!.Note:Your solution should be in logarithmic time complexity.题目意思是求n的阶乘后面末尾0的个数,并且时间...
分类:其他好文   时间:2015-04-04 18:09:00    阅读次数:110
barabasilab-networkScience学习笔记4-无标度特征
第一次接触复杂性科学是在一本叫think complexity的书上,Allen博士很好的讲述了数据结构与复杂性科学,barabasi是一个知名的复杂性网络科学家,barabasilab则是他所主导的一个实验室,这里的笔记则是关于里面介绍的课程的笔记,当然别人的课程不是公开课,所以从ppt里只能看到...
分类:Web程序   时间:2015-04-03 23:47:18    阅读次数:159
LeetCode --- 81. Search in Rotated Sorted Array II
题目链接:Search in Rotated Sorted Array II Follow up for "Search in Rotated Sorted Array": What if duplicates are allowed? Would this affect the run-time complexity? How and why? Write a function to...
分类:其他好文   时间:2015-04-03 17:20:58    阅读次数:113
#23 Merge k Sorted Lists (N路归并排序)
#23 Merge k Sorted Lists (N路归并排序)题目地址:#23 题目分类:链表/归并排序/堆排序 题目难度:hard题目 Merge k sorted linked lists and return it as one sorted list. Analyze and describe its complexity. 翻译:合并K个已经排序的链表,返回一个排序好的链表。...
分类:编程语言   时间:2015-04-03 09:38:28    阅读次数:187
barabasilab-networkScience学习笔记3-随机网络模型
第一次接触复杂性科学是在一本叫think complexity的书上,Allen博士很好的讲述了数据结构与复杂性科学,barabasi是一个知名的复杂性网络科学家,barabasilab则是他所主导的一个实验室,这里的笔记则是关于里面介绍的课程的slider的笔记,当然别人的课程不是公开课,所以从p...
分类:Web程序   时间:2015-04-02 23:59:12    阅读次数:499
1097条   上一页 1 ... 62 63 64 65 66 ... 110 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!