码迷,mamicode.com
首页 >  
搜索关键字:do it    ( 12356个结果
php 判断 xml 里是否存在某个节点
参考网址:http://blog.csdn.net/crazyboy2005/article/details/6114454DOMDocument中,怎样判断某节点是否存在呢?/*$xml->getElementsByTagName("TARGET");返回的是一个DOMNodeList对象,而DO...
分类:Web程序   时间:2014-06-29 13:31:33    阅读次数:273
c++ 快速排序
介绍给大家一个快速排序的方法: void sort(int  a[ ], int l, int r) { int i = l; int j = r; int mid = a[(i+j)/2];      do   {         while(a[i] while(a[j] >mid ) j--; if( i { swap( a[i], a[j] ); }...
分类:编程语言   时间:2014-06-20 13:15:03    阅读次数:292
Construct Binary Tree from Preorder and Inorder Traversal
题目 Given preorder and inorder traversal of a tree, construct the binary tree. Note: You may assume that duplicates do not exist in the tree. 方法 根据树的中序遍历和前序遍历,来构造树,使用递归的思想。 Tre...
分类:其他好文   时间:2014-06-20 12:14:49    阅读次数:262
MongoDB第二弹——基本操作
查询已经创建的数据库 show dbs 选择数据库 use DATABASE_NAME 查询该数据库里面的集合 show collections 删除集合操作: db.COLLECTION_NAME.drop() 插入数据操作: db.COLLECTION_NAME.insert( do...
分类:数据库   时间:2014-06-20 10:57:41    阅读次数:275
Java深度历险(二) EJB Session Bean有状态和无状态的区别与联系
等等通过实例自己实践之后的清晰了很多,多动手多动手,TO Do TO DO !...
分类:编程语言   时间:2014-06-20 09:43:55    阅读次数:306
DOM和SAX的比较
1.DOM和SAX的区别:     1)dom把所有的xml文档信息都存于内存中        sax无需一次把xml文件加载到内存中,采用的是事件驱动的操作     2)dom应用场景:对于大文件来说几乎不可能使用        dom可以直接获取某个节点的操作Document.get,而sax不可以   2.DOM和SAX的优缺点: DOM的优势主要表现在:易用性强,使用DO...
分类:其他好文   时间:2014-06-20 09:26:24    阅读次数:300
Construct Binary Tree from Inorder and Postorder Traversal
题目 Given inorder and postorder traversal of a tree, construct the binary tree. Note: You may assume that duplicates do not exist in the tree. 方法 根据树的中序遍历和后序遍历,来恢复树,使用递归的思想。 Tr...
分类:其他好文   时间:2014-06-07 14:50:37    阅读次数:231
projecteuler---->problem=19----Counting Sundays
You are given the following information, but you may prefer to do some research for yourself. 1 Jan 1900 was a Monday.Thirty days has September, April, June and November. All the rest have thirty...
分类:其他好文   时间:2014-06-07 13:56:52    阅读次数:166
Test Automation With Selenium Using Page Object Design
WebDriver IntroductionA different way of automating the browser.. Create a browser-specific driver to control the browser directly and have to do this...
分类:其他好文   时间:2014-06-07 07:14:40    阅读次数:290
just do it
今天和耀、强两位师兄、显凤一起去学校看病理切片了.......看片子这个任务已经被耽误了近半年的时间,原因就是这堆片子对于一个人来说量太大了.......预计工期:1个月!4个人,齐心合力,一天就搞定了!收工后,我们走在雨中,耀师兄感慨:这件事没有想象的那么恐怖!关键是要去做,做了不管怎样都会让你发...
分类:其他好文   时间:2014-06-05 14:53:53    阅读次数:216
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!