自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

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

原创 Word Ladder

Word Ladder题目描述Given two words (beginWord and endWord), and a dictionary’s word list, find the length of shortest transformation sequence from beginWord to endWord, such that:Only one letter can be...

2018-10-15 22:20:55 95

原创 Jump Game

Jump GameGiven 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 jump length at that position.Determi...

2018-10-15 20:08:42 152

原创 Bus of Character

Bus of Characters题目描述In the Bus of Characters there are n rows of seat, each having 2 seats. The width of both seats in the i-th row is wi centimeters. All integers wi are distinct.Initially the bu...

2018-10-15 14:35:34 174

原创 最长上升子序列(笔记)

最长上升子序列问题描述一个数的序列 ai ,当 a1< a 2< … < … <aS的时候,我们称这个序 列 是上升的。对于给定一个序列(a 1, a 2, …, , …, , …, aN),我们可以得到 一些上升的子序列 (ai1 , ai2 , …, aiK ),这里 1 <= i1 < i2 … iK <= N 。比如,对于序列 (1, 7...

2018-10-03 18:00:13 125

原创 Minimum Ternary String

Minimum Ternary String题目描述You are given a ternary string (it is a string which consists only of characters ‘0’, ‘1’ and ‘2’).You can swap any two adjacent (consecutive) characters ‘0’ and ‘1’ (i.e....

2018-10-02 13:39:16 179

空空如也

空空如也

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

TA关注的人

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