码迷,mamicode.com
首页 >  
搜索关键字:median of two sor    ( 12209个结果
Ubuntu14.04 x86_64 install Xen
Recommended reference:https://help.ubuntu.com/community/XenStep One: Install Ubuntu14.04 on your computerStep Two: Install Xen using “sudo apt-get ins...
分类:系统相关   时间:2014-10-14 23:02:59    阅读次数:328
Codeforces Round #272 (Div. 1) A. Dreamoon and Sums(数论)
题目链接Dreamoon loves summing up something for no reason. One day he obtains two integersaandboccasionally. He wants to calculate the sum of allniceinteg...
分类:其他好文   时间:2014-10-13 23:10:27    阅读次数:221
leetcode - Edit Distance
Given two words word1 and word2, find the minimum number of steps required to convert word1 to word2. (each operation is counted as 1 step.) You have the following 3 operations permitted on a word:...
分类:其他好文   时间:2014-10-13 20:08:07    阅读次数:188
C语言学习入门
编译文件:cc -c one.c two.c  生成.o目标文件 链接文件:cc one.o two.o     默认生成 a.out 执行文件 指定生成的可执行文件名   cc -o one one.o  连续编译、链接:cc one.c      cc -o one one.c    中间生成的.o文件会被删除,最后生成执行文件 cc one.c two.c...
分类:编程语言   时间:2014-10-13 19:57:37    阅读次数:350
Flip Game(枚举)Poj
?? Flip Game Time Limit: 1000MS   Memory Limit: 65536K Total Submissions: 31329   Accepted: 13622 Description Flip game is played on a rectangular 4x4 field with two-sided...
分类:其他好文   时间:2014-10-13 19:12:17    阅读次数:489
cas 官方文档
1. 架构http://jasig.github.io/cas/4.0.0/planning/Architecture.htmlSystem ComponentsThe CAS server and clients comprise the two physical components of th...
分类:其他好文   时间:2014-10-13 16:56:29    阅读次数:2592
Javascript---Immediately-Invoked Function Expression (IIFE)立即执行的函数表达式
1.一下是几种形式的函数调用:各种调用的效率:在这编文章中有谈到:http://suqing.iteye.com/blog/1981591// Either of the following two patterns can be used to immediately invoke// a fun...
分类:编程语言   时间:2014-10-13 14:43:09    阅读次数:317
Merge Two Sorted Lists
1 /** 2 * Definition for singly-linked list. 3 * public class ListNode { 4 * int val; 5 * ListNode next; 6 * ListNode(int x) { 7 * ...
分类:其他好文   时间:2014-10-13 13:30:09    阅读次数:118
【LeetCode】Balanced Binary Tree 解题报告
【题目】 Given a binary tree, determine if it is height-balanced. For this problem, a height-balanced binary tree is defined as a binary tree in which the depth of the two subtrees of every node never d...
分类:其他好文   时间:2014-10-12 22:29:28    阅读次数:210
leetcode - 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: [ [2,4], [3,4], [2,3], [1,2], [1,3], [1,4], ]...
分类:其他好文   时间:2014-10-12 20:53:58    阅读次数:191
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!