自定义博客皮肤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)
  • 资源 (1)
  • 收藏
  • 关注

原创 [算法相关] Minimum Depth of Binary Tree

111. Minimum Depth of Binary TreeGiven a binary tree, find its minimum depth.The minimum depth is the number of nodes along the shortest path from the root node down to the nearest leaf node

2016-04-29 15:01:10 404

原创 [算法相关] Path Sum-二叉树相加之和

链接:https://leetcode.com/problems/path-sum/Given a binary tree and a sum, determine if the tree has a root-to-leaf path such that adding up all the values along the path equals the given sum.Fo

2016-04-28 23:14:52 1141

原创 Mysql_JDBC_myeclipse_初探

1,显示当前的数据库: showdatabases2,选择一个数据库:use binbin:3, 在数据库中创建列表:Create table dept(deptno int primary key,dname varchar(14),loc varchar (13));4,显示当前数据表,show  tables:

2016-04-20 23:25:24 1227

原创 [算法相关] 9. Palindrome Number-数字的回文

9. Palindrome NumberDetermine whether an integer is a palindrome. Do this without extra space.click to show spoilers.Some hints:Could negative integers be palindromes? (ie, -1)If you

2016-04-17 22:47:32 522

原创 [算法相关] Pascal's Triangle II --杨辉三角形-链表和数组

119. Pascal's Triangle II Total Accepted:72830Total Submissions:226423Difficulty:EasyGiven an indexk, return thekthrow of the Pascal's triangle.For example, giv

2016-04-17 21:51:03 681

原创 [算法相关] 118. Pascal's Triangle-杨辉三角形

杨辉三角形GivennumRows, generate the firstnumRowsof Pascal's triangle.For example, givennumRows= 5,Return[ [1], [1,1], [1,2,1], [1,3,3,1], [1,4,6,4,1]]给定一个数,写出其杨辉三角形对应式。

2016-04-17 15:12:29 425

空空如也

空空如也

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

TA关注的人

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