码迷,mamicode.com
首页 >  
搜索关键字:intersection of two    ( 11974个结果
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 b...
分类:其他好文   时间:2014-07-27 22:49:39    阅读次数:176
SPOJ - MYQ10 Mirror Number (数位DP)
Description A number is called a Mirror number if on lateral inversion, it gives the same number i.e it looks the same in a mirror. For example 101 is a mirror number while 100 is not.  Given two ...
分类:其他好文   时间:2014-07-27 11:10:22    阅读次数:204
Divide Two Integers leetcode java
题目:Divide two integers without using multiplication, division and mod operator.题解:这道题我自己没想出来。。。乘除取模都不让用。。那只有加减了。。。我参考的http://blog.csdn.net/perfect888....
分类:编程语言   时间:2014-07-27 11:06:32    阅读次数:303
Container With Most Water leetcode java
题目:Given n non-negative integers a1, a2, ..., an, where each represents a point at coordinate (i, ai). n vertical lines are drawn such that the two e....
分类:编程语言   时间:2014-07-27 11:04:52    阅读次数:278
N-Queens leetcode java
题目:The n-queens puzzle is the problem of placing n queens on an n×n chessboard such that no two queens attack each other.Given an integer n, return a....
分类:编程语言   时间:2014-07-27 11:00:22    阅读次数:262
【leetcode刷题笔记】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 ...
分类:其他好文   时间:2014-07-27 09:53:12    阅读次数:350
Eclipse 手动增加linker library
多个cu文件nvcc -cubin -m64 -lcudadevrt -lcublas_device -gencode arch=compute_35,code=sm_35 -o test.cubin -c test.cu -dlinkYou can also do that in two step...
分类:系统相关   时间:2014-07-26 16:51:12    阅读次数:350
POJ 3414 Pots
Pots Description You are given two pots, having the volume of A and B liters respectively. The following operations can be performed: FILL(i)        fill the pot i (1 ≤ i ≤ 2) from the tap;DR...
分类:其他好文   时间:2014-07-26 15:04:00    阅读次数:263
hdu1247Hat’s Words (组合单词,字典树+DFS)
Problem Description A hat’s word is a word in the dictionary that is the concatenation of exactly two other words in the dictionary. You are to find all the hat’s words in a dictionary. Input ...
分类:其他好文   时间:2014-07-26 15:02:10    阅读次数:220
E - Power Strings,求最小周期串
E -Power StringsTime Limit:3000MSMemory Limit:65536KB64bit IO Format:%I64d & %I64uSubmitStatusPracticePOJ 2406DescriptionGiven two strings a and b we ...
分类:其他好文   时间:2014-07-26 14:10:16    阅读次数:201
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!