自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

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

原创 Split Array into Fibonacci Sequence

题目描述: Given a string S of digits,such as S = "123456579",we can split it into a Fibonacci-likesequence [123, 456, 579]. Formally, a Fibonacci-like sequence is a list F of non-negative integers such ...

2018-07-24 23:02:51 324

原创 Permutation Sequence

题目描述:The set [1,2,3,...,n] contains a total of n! unique permutations.By listing and labeling all of the permutations in order, we get the following sequence for n = 3:    "123"    "132"    "213"    "...

2018-07-13 18:46:32 131

原创 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" cells are those horizontally or verticall...

2018-07-11 12:34:44 218

原创 Search a 2D Matrix II

题目描述:Write an efficient algorithm that searches for a value in an m x n matrix. This matrix has the following properties:1.Integers in each row are sorted in ascending from left to right.2.Integers in...

2018-07-10 20:16:56 112

原创 Additive Number

题目描述:Additive number is a string whose digits can form additive sequence.A valid additive sequence should contain at least three numbers. Except for the first two numbers, each subsequent number in th...

2018-07-07 13:15:20 237

原创 Add Two Numbers

题目描述:You are given two non-empty linked lists representing two non-negative integers. The digits are stored in reverse order and each of their nodes contain a single digit. Add the two numbers and ret...

2018-07-04 17:30:22 95

原创 Rotate List

题目描述:Given a linked list, rotate the list to the right by k places, where k is non-negative.Example 1:Input: 1->2->3->4->5->NULL, k = 2Output: 4->5->1->2->3->NULLExplanat...

2018-07-03 20:06:56 206

原创 Remove Nth Node From End of List

题目描述:Given a linked list, remove the n-th node from the end of list and return its head.Example:Given linked list: 1->2->3->4->5, and n = 2.After removing the second node from the end, the...

2018-07-02 20:00:44 97

空空如也

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

TA关注的人

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