码迷,mamicode.com
首页 >  
搜索关键字:divide two integers    ( 17573个结果
LeetCode:Combinations 题解
Given two integersnandk, return all possible combinations ofknumbers out of 1 ...n.For example,Ifn= 4 andk= 2, a solution is:[ [2,4], [3,4], [2,3],...
分类:其他好文   时间:2014-07-01 13:01:01    阅读次数:177
Leetcode:Combinations 生成组合
Combinations:Given two integers n and k, return all possible combinations of k numbers out of 1 ... n.For example,If n = 4 and k = 2, a solution is:[ ...
分类:其他好文   时间:2014-07-01 12:58:20    阅读次数:212
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
[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
Single Number
题目 Given an array of integers, every element appears twice except for one. Find that single one. Note: Your algorithm should have a linear runtime complexity. Could you implement it witho...
分类:其他好文   时间:2014-07-01 06:24:42    阅读次数:204
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...
分类:其他好文   时间:2014-07-01 06:23:24    阅读次数:334
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
迷上了代码!