动态规划
不了痕
风景很美,常回头看看
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
【leetcode 121】Best Time to Buy and Sell Stock
题目:Say you have an array for which theithelement is the price of a given stock on dayi.If you were only permitted to complete at most one transaction (i.e., buy one and sell one share of the st...原创 2020-01-03 06:52:42 · 1068 阅读 · 0 评论 -
【leetcode 36】 Valid Sudoku 判断数独是否有效
题目Determine if a9x9 Sudoku boardis valid.Only the filled cells need to be validatedaccording to the following rules:Each rowmust contain thedigits1-9without repetition. Each column must ...原创 2020-01-31 17:08:38 · 368 阅读 · 0 评论 -
【leetcode 62】Unique Paths 求起点终点路径条数
题目A robot is located at the top-left corner of amxngrid (marked 'Start' in the diagram below).The robot can only move either down or right at any point in time. The robot is trying to reach t...原创 2020-02-08 15:36:34 · 814 阅读 · 0 评论
分享