LeetCode 174. Dungeon Game(游戏)

原题网址:https://leetcode.com/problems/dungeon-game/ The demons had captured the princess (P) and imprisoned her in the bottom-right corner of a dunge...

2016-05-25 01:35:03

阅读数:414

评论数:0

LeetCode 351. Android Unlock Patterns(安卓解锁)

原题网址:https://leetcode.com/problems/android-unlock-patterns/ Given an Android 3x3 key lock screen and two integers m and n, where 1 ≤ m ≤ n ≤ 9, cou...

2016-05-25 01:34:55

阅读数:4130

评论数:0

LeetCode 61. Rotate List(旋转链表)

原题网址:https://leetcode.com/problems/rotate-list/ Given a list, rotate the list to the right by k places, where k is non-negative. For exampl...

2016-05-21 09:13:10

阅读数:693

评论数:0

LeetCode 335. Self Crossing(贪吃蛇)

原题网址:https://leetcode.com/problems/self-crossing/ You are given an array x of n positive numbers. You start at point (0,0) and moves x[0] metres t...

2016-04-30 01:55:51

阅读数:487

评论数:0

LeetCode 295. Find Median from Data Stream(数据流中位数)

原题网址:https://leetcode.com/problems/find-median-from-data-stream/ Median is the middle value in an ordered integer list. If the size of the list is ...

2016-04-16 11:09:22

阅读数:528

评论数:0

LeetCode 286. Walls and Gates(墙与门)

原题网址:https://leetcode.com/problems/walls-and-gates/ You are given a m x n 2D grid initialized with these three possible values. -1 - A wall o...

2016-04-15 01:10:25

阅读数:647

评论数:0

LeetCode 283. Move Zeroes(移动数字0)

原题网址:https://leetcode.com/problems/move-zeroes/ Given an array nums, write a function to move all 0's to the end of it while maintaining the r...

2016-04-14 10:21:19

阅读数:267

评论数:0

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