码迷,mamicode.com
首页 >  
搜索关键字:median of two sorted    ( 17004个结果
[LeetCode] 934. Shortest Bridge 最短的桥梁
In a given 2D binary array , there are two islands. (An island is a 4 directionally connected group of s not connected to any other 1s.) Now, we may c ...
分类:其他好文   时间:2020-02-19 23:40:26    阅读次数:85
Power Strings POJ - 2406 后缀数组
Given two strings a and b we define a*b to be their concatenation. For example, if a = "abc" and b = "def" then a*b = "abcdef". If we think of concate ...
分类:编程语言   时间:2020-02-18 16:33:41    阅读次数:88
memcached与redis比较
1 memcached介绍 Memcached是一个自由开源的,高性能,分布式内存对象缓存系统。 Memcached是以LiveJournal旗下Danga Interactive公司的Brad Fitzpatric为首开发的一款软件。现在已成为mixi、hatena、Facebook、Vox、Li ...
分类:系统相关   时间:2020-02-18 15:08:49    阅读次数:97
1030 完美数列
two pointers通向扫描法。 #include<iostream> #include<algorithm> using namespace std; typedef long long LL; LL a[100010] = {0}; int main() { int n,p,max = -1 ...
分类:其他好文   时间:2020-02-18 13:04:59    阅读次数:49
Cut Ribbon
Polycarpus has a ribbon, its length is n. He wants to cut the ribbon in a way that fulfils the following two conditions: After the cutting each ribbon ...
分类:其他好文   时间:2020-02-18 13:04:42    阅读次数:81
1351. Count Negative Numbers in a Sorted Matrix
Given a m * n matrix grid which is sorted in non-increasing order both row-wise and column-wise. Return the number of negative numbers in grid. Exampl ...
分类:其他好文   时间:2020-02-18 13:04:04    阅读次数:75
Python Redis 五大数据类型
五大数据类型 String(字符串) Hash(哈希) List(列表) Set(集合) zset(sorted set:有序集合) ...
分类:编程语言   时间:2020-02-18 12:53:32    阅读次数:71
LeetCode 390. Elimination Game
原题链接在这里:https://leetcode.com/problems/elimination-game/ 题目: There is a list of sorted integers from 1 to n. Starting from left to right, remove the fi ...
分类:其他好文   时间:2020-02-18 09:56:29    阅读次数:79
欧拉计划第10题题解
Summation of primes The sum of the primes below 10 is 2 + 3 + 5 + 7 = 17. Find the sum of all the primes below two million. 素数的和 所有小于10的素数的和是2 + 3 + 5 ...
分类:其他好文   时间:2020-02-17 20:02:02    阅读次数:77
欧拉计划第4题题解
Largest palindrome product A palindromic number reads the same both ways. The largest palindrome made from the product of two 2 digit numbers is 9009 ...
分类:其他好文   时间:2020-02-17 18:15:39    阅读次数:102
17004条   上一页 1 ... 73 74 75 76 77 ... 1701 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!