编程语言[总排行] [月排行] [周排行] [日排行]
第一章 初始C++1. c++简介C plus plus1969年 BCPL(basic combined programming language)1973年 肯·汤普森(Ken Thompson)、丹尼斯·利奇(Dennis Ritchie)1983年 比雅尼·斯特劳斯特鲁普Bjarne Str...
分类:编程语言 时间:2014-05-12 21:41:51 阅读:320
原题地址:http://oj.leetcode.com/problems/convert-sorted-array-to-binary-search-tree/题意:将一个排序好的数组转换为一颗二叉查找树,这颗二叉查找树要求是平衡的。解题思路:由于要求二叉查找树是平衡的。所以我们可以选在数组的中间那...
分类:编程语言 时间:2014-05-12 21:44:57 阅读:379
在c++中,有2种class data member:static和nostatic,以及3钟class member function:static,nostatic和virtual。已知下面这个class Point声明:class Point{public: Point(float xv...
分类:编程语言 时间:2014-05-12 21:43:54 阅读:370
转载自http://blog.kgzx.net/index.php/archives/40/因为类库兼容性的关系,写实际项目时都是用 Python 2,但自己试验性的写点小东西还是喜欢用 Python 3在这记录一下在 windows 下让这两个版本共存的配置步骤在官网下载两个版本的 exe 文件并...
分类:编程语言 时间:2014-05-12 21:48:04 阅读:354
Graham计算点集凸包是一种常用的方法,本文详细介绍了其算法思想及代码实现。
分类:编程语言 时间:2014-05-12 21:49:03 阅读:560
原题地址:http://oj.leetcode.com/problems/minimum-depth-of-binary-tree/题意:Given a binary tree, find its minimum depth.The minimum depth is the number of no...
分类:编程语言 时间:2014-05-12 21:55:15 阅读:348
原题地址:http://oj.leetcode.com/problems/binary-tree-zigzag-level-order-traversal/题意:Given a binary tree, return thezigzag level ordertraversal of its nod...
分类:编程语言 时间:2014-05-12 22:02:26 阅读:480
复数: 复数比较详细的内容请参考:复数代数 C支持复数的数学计算,复数Z可以在笛卡尔坐标表示为:Z=x+y*I;其中x和y是实数,I是虚数单位。数x被称为实部,数y为虚部。在c语言中,一个复数是有浮点类型表示的实部和虚部。两部分都具有相同的类型,无论是float,double或者long dou.....
分类:编程语言 时间:2014-05-12 22:05:31 阅读:650
原题地址:http://oj.leetcode.com/problems/binary-tree-level-order-traversal-ii/题意:Given a binary tree, return thebottom-up level ordertraversal of its node...
分类:编程语言 时间:2014-05-12 22:03:27 阅读:581
作者:X Wang出处:http://www.programcreek.com/2013/09/top-10-methods-for-java-arrays/转载文章,转载请注明作者和出处The following are top 10 methods for Java Array. They ar...
分类:编程语言 时间:2014-05-12 22:07:28 阅读:530
145119451204512145345
上一页453443下一页
© 2014 mamicode.com 版权所有 京ICP备13008772号-2  联系我们:gaon5@hotmail.com
迷上了代码!