自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(7)
  • 资源 (1)
  • 问答 (5)
  • 收藏
  • 关注

原创 Triangle

题目描述:   Given a triangle, find the minimum path sum from top to bottom.    Each step you may move to adjacent numbers on the row below.   (给定一个三角形,从上到下找到最短路径的总和。每一步,你要移到下一行与该数相邻的数。)   For ex

2017-06-18 16:22:07 243

原创 Word_Search

题目描述:Given a 2D board and a word, find if the word exists in the grid.                The word can be constructed from letters of sequentially adjacent cell,                where “adjacent” cell

2017-06-07 19:32:54 244

原创 Jump_Game

题目描述:Given an array of non-negative(非负) integers,                  you are initially positioned at the first index of the array.                 Each element in the array represents your maximum j

2017-06-05 15:33:26 249

翻译 Divide_Two_Integers(低时间复杂度版)

题目描述:Divide two integers without using multiplication, division and mod operator.                译:(除两个数不使用乘除取余)                代码是网上看见的,注释是自己加的,这个写的挺有意思的,但可能有点难懂。public class Divide_Two_Int

2017-06-02 15:48:08 280

转载 java各类型数据位数

一、分析基本数据类型的特点,最大值和最小值。1、基本类型:int 二进制位数:32包装类:java.lang.Integer最小值:Integer.MIN_VALUE= -2147483648 (-2的31次方)最大值:Integer.MAX_VALUE= 2147483647  (2的31次方-1)2、基本类型:short 二进制位数:16包装类:java.lan

2017-06-01 20:54:32 2918

原创 Divide_Two_Integers

题目描述:Divide two integers without using multiplication, division and mod operator.                (除两个数不使用乘除取余)                 解析:用一个数一直减另一个数,直到小于零,得到答案,比较容易理解但是可能时间复杂度上不是最低,不过int类型也高不到哪去。publ

2017-06-01 20:48:59 316

原创 Valid_Parentheses

题目描述:Given a string containing just the characters '(', ')', '{', '}', '[' and ']',                determine if the input string is valid.                The brackets(括号)must close in the correc

2017-06-01 10:39:50 351

空空如也

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

TA关注的人

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