码迷,mamicode.com
首页 >  
搜索关键字:median of two sorted    ( 17004个结果
中小型软件项目开发一般流程建议
一:编写目的本文档的编写旨在探寻规范的软件开发流程、加快软件开发速度、提高软件开发质量、降低项目综合成本。IT界有一句格言:"You can do it right; you can do it fast; you can do it cheap. Pick two." 而我们要做的就是:提供优质服...
分类:其他好文   时间:2014-07-01 16:36:01    阅读次数:193
LeetCode——Search Insert Position
Given a sorted array and a target value, return the index if the target is found. If not, return the index where it would be if it were inserted in order. You may assume no duplicates in the array....
分类:其他好文   时间:2014-07-01 15:22:44    阅读次数:140
Leetcode:Merge Sorted Array 归并排序
Sorted Array:Given two sorted integer arrays A and B, merge B into A as one sorted array.Note:You may assume that A has enough space (size that is gre...
分类:其他好文   时间:2014-07-01 12:51:53    阅读次数:202
Leetcode:Gray Code 格雷码
Gray Code:The gray code is a binary numeral system where two successive values differ in only one bit.Given a non-negative integer n representing the ...
分类:其他好文   时间:2014-07-01 12:42:16    阅读次数:192
X/Open DTP模型与XA协议的学习笔记
最近的任务是里了解XA协议。要了解XA协议,必须先了解X/Open DTP模型,稍微总结一下:X/Open DTP(Distributed Transaction Process)是一个分布式事务模型。这个模型主要使用了两段提交(2PC - Two-Phase-Commit)来保证分布式事务的完整性...
分类:其他好文   时间:2014-07-01 12:28:17    阅读次数:458
关于数据库内联接和左联接
在学习数据库的时候选择的是一本翻译书,有些概念没有搞清楚,现在总结一下。内联接语句select * FROM table1 one INNER JOIN table2 two ON one.table1_id=two.table2_id;返回的结果是两个表中都存在的匹配数据左联接语句SELECT *...
分类:数据库   时间:2014-07-01 11:54:23    阅读次数:251
UVa 10106 Product
高精度乘法问题,WA了两次是因为没有考虑结果为0的情况。ProductThe ProblemThe problem is to multiply two integers X, Y. (0 3 #include 4 #include 5 using namespace std; 6 7 con...
分类:其他好文   时间:2014-07-01 10:24:54    阅读次数:238
UVa 10250 The Other Two Trees
还是读了很长时间的题,不过题本身很简单。可以把四棵树想象成正方形的四个顶点,已知两个相对顶点的坐标,求另外两个坐标。不过,原题可没直接这么说,中间需要一些小证明。题中说有一个平行四边形然后分别以四条边为边长向外作正方形,四棵树就在四个正方形中心的位置。这是我用几何画板画的图。下面证△FOE≌△HGO...
分类:其他好文   时间:2014-07-01 10:14:31    阅读次数:316
[Leetcode]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 and return it a...
分类:其他好文   时间:2014-07-01 09:11:07    阅读次数:206
Oracle创建Physical Standby Database案例
Creating a Physical Standby Database This case is created, operated and followed the steps from oracle online help documentation.  The configuration of the two sites server: Primary Database: [roo...
分类:数据库   时间:2014-07-01 06:22:46    阅读次数:415
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!