自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+

嘤其鸣矣,求其友声

热爱技术,热爱生活

  • 博客(6)
  • 资源 (5)
  • 收藏
  • 关注

原创 Leetcode - Move Zeroes

Given an array nums, write a function to move all 0’s to the end of it while maintaining the relative order of the non-zero elements.For example, given nums = [0, 1, 0, 3, 12], after calling your funct

2016-08-30 14:30:55 441

原创 leetcode- Preorder/Inorder/PostOrder without Recursive

Recursive solution is trivial方法一(麻烦):/** * Definition for a binary tree node. * struct TreeNode { * int val; * TreeNode *left; * TreeNode *right; * TreeNode(int x) : val(x), left(

2016-08-30 14:14:53 461

原创 Leetcode-Symmetric Tree

Given a binary tree, check whether it is a mirror of itself (ie, symmetric around its center).For example, this binary tree [1,2,2,3,4,4,3] is symmetric: 1 / \ 2 2 / \ / \ 3 4 4 3 But the

2016-08-26 11:07:25 350

原创 leetcode-MaxDepth of a binaryTree

Given a binary tree, find its maximum depth.The maximum depth is the number of nodes along the longest path from the root node down to the farthest leaf node.两种递归: int maxDepth(TreeNode* root) {

2016-08-26 11:04:43 466

原创 Leetcode-Binary Tree Level Order Traversal

Given a binary tree, return the level order traversal of its nodes’ values. (ie, from left to right, level by level).For example: Given binary tree [3,9,20,null,null,15,7], 3 / \ 9 20

2016-08-25 11:24:49 439

原创 Git常用命令

为了方便自己查询,将最近用到的Git命令整理如下: git init # 在本地建立一个仓库 git clone (repository) # git clone默认会把远程仓库整个给clone下来 git status git add modified_file #可以用Regular Expression匹配多个文件 git bra

2016-08-23 18:41:06 314

commons-dbutils-1.6.jar

commons-dbutils-1.6.jar

2015-11-29

Java设计模式(疯狂Java联盟版)

Java设计模式(疯狂Java联盟版),作者李刚。Java实现,适合已经学习过设计模式的人看,这只是个总结性的文档,不适合初学者。

2015-09-30

重构与模式

本书由Joshua Kerievsky科瑞夫斯盖著,杨光,刘基诚译。本书开创性地深入揭示了重构与模式这两种软件开发关键技术之间的联系,说明了通过重构实现模式改善既有的设计,往往优于在新的设计早期使用模式。本书不仅展示了一种应用模式和重构的创新方法,而且有助于读者结合实战深入理解重构和模式。书中讲述了27种重构方式。

2015-09-30

Java实现高级计算器

该计算器源代码用Java实现,界面简单,精致,实现了多功能输入,支持键盘输入,记录计算过程等,非常适合初学者。NetBeans环境下实现,如果你是Eclipse环境,直接新建项目,并拷贝SRC目录下的java文件即可。

2015-05-18

空空如也

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

TA关注的人

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