码迷,mamicode.com
首页 >  
搜索关键字:intersection of two    ( 11974个结果
diff and patch
A patch captures the changes of two different files (oldfile and newfile). Given the oldfile and the patch, one can use the patch program to create th...
分类:其他好文   时间:2014-09-03 03:52:15    阅读次数:252
SGU 217. Two Cylinders
题意:给空间内两根圆柱,求轴线垂直相交时公共部分的体积。暴力积分即可。ID:Date'n'Time:Name:Task:.Ext:Status:Time:Memory:158937402.09.14 19:37HuZhifeng217.CPPAccepted499 ms46 kb精度卡爆,0.001...
分类:其他好文   时间:2014-09-03 01:26:15    阅读次数:267
Add Two Numbers
问题描述 You are given two linked lists representing two non-negative numbers. The digits are stored in reverse order and each of their nodes contain a single digit. Add the two numbers...
分类:其他好文   时间:2014-09-02 19:57:55    阅读次数:166
hdu--2578--与女孩约会
杭电的这个出题人真闷骚啊....冠以 与女孩约会的名义 出了这么个这题 不难的 但是一定要读懂题目意思Two solutions are different if x0 != x1 or y0 != y1.这就告诉我们 1+3=4 与 3+1=4 这是2种方法但是如果那个古怪的女孩给了你1 1 1 ...
分类:其他好文   时间:2014-09-02 14:03:24    阅读次数:194
[leecode]Scramble String
Scramble StringGiven a strings1, we may represent it as a binary tree by partitioning it to two non-empty substrings recursively.Below is one possible...
分类:其他好文   时间:2014-09-02 00:17:33    阅读次数:260
LeetCode: Scramble String
LeetCode: Scramble StringGiven a string s1, we may represent it as a binary tree by partitioning it to two non-empty substrings recursively.Below is o...
分类:其他好文   时间:2014-09-01 22:42:34    阅读次数:308
LeetCode: Gray Code
LeetCode: Gray CodeThe gray code is a binary numeral system where two successive values differ in only one bit.Given a non-negative integer n represen...
分类:其他好文   时间:2014-09-01 22:31:13    阅读次数:289
LeetCode: Merge Sorted Array
LeetCode: Merge Sorted ArrayGiven two sorted integer arrays A and B, merge B into A as one sorted array. Note:You may assume that A has enough space (...
分类:其他好文   时间:2014-09-01 22:29:23    阅读次数:172
Multiply Strings
Given two numbers represented as strings, return multiplication of the numbers as a string.Note: The numbers can be arbitrarily large and are non-nega...
分类:其他好文   时间:2014-09-01 20:59:03    阅读次数:173
Same Tree
问题描述 Given two binary trees, write a function to check if they are equal or not. Two binary trees are considered equal if they are structurally identical and the nodes have the same value. 解决...
分类:其他好文   时间:2014-09-01 15:40:33    阅读次数:146
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!