自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(10)
  • 收藏
  • 关注

转载 Lowest Common Ancestor

Lowest Common AncestorSourcelintcode: (88) Lowest Common AncestorGiven the root and two nodes in a Binary Tree. Find the lowest common ancestor(LCA) of the two nodes.The lowest common ance

2016-02-28 22:34:49 423

转载 Lowest Common Ancestor

Lowest common ancestorFrom Wikipedia, the free encyclopediaThis article is about lowest common ancestors in graph theory and computer science. For the common ancestor of a set of speci

2016-02-26 16:35:57 1148

转载 BFS Vs DFS (Level Order Traversal)

BFS vs DFS for Binary TreeWhat are BFS and DFS for Binary Tree?A Tree is typically traversed in two ways:Breadth First Traversal (Or Level Order Traversal)Depth First TraversalsI

2016-02-25 16:31:04 308

转载 Divide and Conquer

Divide and Conquer | Set 1 (Introduction)Like Greedy and Dynamic Programming, Divide and Conquer is an algorithmic paradigm. A typical Divide and Conquer algorithm solves a problem using follo

2016-02-25 15:55:21 379

转载 Binary Tree Maximum Path Sum

Binary Tree Maximum Path SumGiven a binary tree, find the maximum path sum.The path may start and end at any node in the tree.求树的一点到另一点的最大路径,利用递归的方法,ans 在 左子树,右子树,root+左+右的最大中产生。/*

2016-02-25 14:10:19 237

转载 i++

与在前面:++(--)有太多让人困惑的地方,(i++)+(i++)与(++i)+(++i)有什么不同?为什么不同?如果从机器的角度去理解,就会豁然开朗。 先来看段程序:int main(){    int i=3;    int j=(i++)+(i++);    //    int j=(++i)+(++i);    printf("%d,%d\n",i,

2016-02-20 11:50:17 293

转载 Java类数组

java之创建自定义类数组2013-12-06       个评论    来源:每天进步一点点 时间会让你成为巨人   收藏    我要投稿java创建自定义类数组方法:Student []stu = new Student[3];for(int i = 0; i {stu[i] = new Student();}

2016-02-18 15:25:26 322

转载 Linux TCP

Linux TCP队列相关参数的总结 华蒙 浏览 930 2016-02-02 13:43:15 发表于: 阿里技术保障linux阿里技术保障TCP网络摘要本文尝试总结TCP队列缓冲相关的内核参数,从协议栈的角度梳理它们,希望可以更容易的理解和记忆。注意,本文内容均来源于参考文档,没有去读相关的内核源码做验证,不能保证内容严谨正确。作为Java程序员没读过内核源

2016-02-18 14:40:04 294

转载 理解Docker容器

理解Docker容器的进程管理 denverdino 浏览 2004 2016-02-13 11:42:50 发表于: 阿里云容器服务docker容器服务容器进程supervisor摘要Docker在进程管理上有一些特殊之处,如果不注意这些细节中的魔鬼就会带来一些隐患。另外Docker鼓励“一个容器一个进程(one process per container

2016-02-18 14:33:35 2034

转载 Python chr ord

python chr()和ord() 标签: pythoncharacter2014-03-12 19:12 2103人阅读 评论(0) 收藏 举报 分类: python(4) 版权声明:本文为博主原创文章,未经博主允许不得转载。通过help 查看相关函数的帮助文档>>>help (chr)chr(...)    ch

2016-02-14 19:31:35 368

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除