码迷,mamicode.com
首页 >  
搜索关键字:first artical(标签)    ( 14117个结果
Jump Game II
Given an array of non-negative integers, you are initially positioned at the first index of the array.Each element in the array represents your maximu...
分类:其他好文   时间:2014-06-04 20:58:25    阅读次数:296
Jump Game
Given an array of non-negative integers, you are initially positioned at the first index of the array.Each element in the array represents your maximu...
分类:其他好文   时间:2014-06-04 20:44:19    阅读次数:216
First Missing Positive
Given an unsorted integer array, find the first missing positive integer.For example,Given[1,2,0]return3,and[3,4,-1,1]return2.Your algorithm should ru...
分类:其他好文   时间:2014-06-04 20:13:41    阅读次数:350
Merge Two Sorted Lists
Merge two sorted linked lists and return it as a new list. The new list should be made by splicing together the nodes of the first two lists./***Defin...
分类:其他好文   时间:2014-06-04 19:23:45    阅读次数:243
IBatisNet Insert返回主键ID
MS SqlServer: 1 2 insert into PERSON 3 (PER_FIRST_NAME, PER_LAST_NAME, 4 PER_BIRTH_DATE, PER_WEIGHT_KG, PER_HEIGHT_M) 5 values 6 ...
分类:Web程序   时间:2014-05-30 05:52:41    阅读次数:283
【转】Spring+Hibernate+EHcache配置(一)
大量数据流动是web应用性能问题常见的原因,而缓存被广泛的用于优化数据库应用。cache被设计为通过保存从数据库里load的数据来减少应用和数据库之间的数据流动。数据库访问只有当检索的数据不在cache里可用时才必要。hibernate可以用两种不同的对象缓存:first-level cache 和...
分类:编程语言   时间:2014-05-29 23:12:43    阅读次数:349
Easy steps to create a System Tray Application with C# z
Hiding the C# application to the system tray is quiet straight forward. With a few line of codes in C# and you can accomplish this. First you will nee...
分类:移动开发   时间:2014-05-29 17:59:38    阅读次数:311
笔试算法题(50):简介 - 广度优先 & 深度优先 & 最小生成树算法
广度优先搜索&深度优先搜索(Breadth First Search & Depth First Search)BFS优缺点:同一层的所有节点都会加入队列,所以耗用大量空间;仅能非递归实现;相比DFS较快,空间换时间;适合广度大的图;空间复杂度:邻接矩阵O(N^2);邻接表O(N+E);时间复杂度:...
分类:其他好文   时间:2014-05-29 15:33:14    阅读次数:407
Coursera compiler Set up environment and Run first program
Environment, Ubuntu 14.04set up guideSet up cool compiler1. sudo apt-get install flex bison build-essential csh openjdk-6-jdk libxaw7-dev libc6-i3862....
分类:其他好文   时间:2014-05-29 15:09:43    阅读次数:578
linux文件重定向
1:标准输出;2:错误输出1,exec启动一个新的shell将STDOUT文件描述符重定向到文件#!/bin/shecho "test exec..."exec > out.txt exec 2> out.errorecho "this is the first line"#故意生成错误信息,将输出...
分类:系统相关   时间:2014-05-29 10:28:51    阅读次数:326
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!