leetcode
weixin_41826462
这个作者很懒,什么都没留下…
展开
-
leetcode 576. Out of Boundary Paths
https://leetcode.com/problems/out-of-boundary-paths/solution/题目: https://leetcode.com/problems/out-of-boundary-paths/description/一个球在m * n的格子内,问多少种路径可以将它移出格子,最后的结果取模100000007方法#1 暴力搜索 [时间超限]算法描述基本思想:在...翻译 2018-03-30 10:12:47 · 215 阅读 · 0 评论 -
Leetcode 741 Cherry Pickup
http://zxi.mytechroad.com/blog/dynamic-programming/leetcode-741-cherry-pickup/Problem:In a N x N grid representing a field of cherries, each cell is one of three possible integers.0 means the cell is ...翻译 2018-03-29 11:01:44 · 294 阅读 · 0 评论 -
132. Palindrome Partitioning II
https://www.youtube.com/watch?v=vunyW9zVrx4Given a string s, partition s such that every substring of the partition is a palindrome.Return the minimum cuts needed for a palindrome partitioning of s.Fo...翻译 2018-04-19 10:21:11 · 103 阅读 · 0 评论