摘要: https://leetcode.com/problems/unique-paths-ii/ A robot is located at the top-left corner of a m x n grid (marked 'Start' in the diagram below). The ro 阅读全文
posted @ 2018-11-22 19:49 丧心病狂工科女 阅读(186) 评论(0) 推荐(0) 编辑
摘要: https://leetcode.com/problems/unique-paths/ A robot is located at the top-left corner of a m x n grid (marked 'Start' in the diagram below). The robot 阅读全文
posted @ 2018-11-22 18:03 丧心病狂工科女 阅读(130) 评论(0) 推荐(0) 编辑
摘要: https://leetcode.com/problems/valid-sudoku/ Determine if a 9x9 Sudoku board is valid. Only the filled cells need to be validated according to the foll 阅读全文
posted @ 2018-11-22 14:19 丧心病狂工科女 阅读(128) 评论(0) 推荐(0) 编辑
摘要: https://leetcode.com/problems/search-in-rotated-sorted-array/ Suppose an array sorted in ascending order is rotated at some pivot unknown to you befor 阅读全文
posted @ 2018-11-22 13:21 丧心病狂工科女 阅读(98) 评论(0) 推荐(0) 编辑
摘要: https://leetcode.com/problems/set-matrix-zeroes/ Given a m x n matrix, if an element is 0, set its entire row and column to 0. Do it in-place. Example 阅读全文
posted @ 2018-11-22 10:27 丧心病狂工科女 阅读(130) 评论(0) 推荐(0) 编辑
摘要: https://leetcode.com/problems/subsets/ Given a set of distinct integers, nums, return all possible subsets (the power set). Note: The solution set mus 阅读全文
posted @ 2018-11-22 10:01 丧心病狂工科女 阅读(120) 评论(0) 推荐(0) 编辑