- 博客(7)
- 资源 (1)
- 收藏
- 关注
原创 Leetcode 91. Decode Ways (string)
91. Decode WaysA message containing letters from A-Z is being encoded to numbers using the following mapping:'A' -> 1'B' -> 2...'Z' -> 26Given an encoded message containing digits, det
2018-03-09 10:59:59 308
原创 Leetcode 74. Search a 2D Matrix
74. Search a 2D MatrixWrite an efficient algorithm that searches for a value in an m x n matrix. This matrix has the following properties:Integers in each row are sorted from left to rig
2018-03-04 18:19:45 251
原创 Leetcode 45. Jump Game II(dp)
45. Jump Game IIGiven 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 posi
2018-03-03 14:58:34 433
原创 Leetcode 48. Min Cost Climbing Stairs
48. Min Cost Climbing Stairs On a staircase, the i-th step has some non-negative costcost[i] assigned (0 indexed).Once you pay the cost, you can either climb one or two steps. You need to find
2018-03-02 17:24:47 228
原创 Leetcode 62. Unique Paths
62. Unique PathsA robot is located at the top-left corner of a m x n grid (marked 'Start' in the diagram below).The robot can only move either down or right at any point in time. The robot i
2018-03-02 13:55:25 212
原创 Leetcode 51. N-Queens
51. N-QueensThe n-queens puzzle is the problem of placing n queens on ann×n chessboard such that no two queens attack each other.Given an integer n, return all distinct solutions to the n-
2018-03-01 21:34:43 190
原创 Leetcode 55. Jump Game
55. 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 positio
2018-03-01 16:08:58 435
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人