java解leetcode
JACK_GEN123
leetcode解题爱好者
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
leetcode 70.爬楼梯(Java)
Climbing Stairs You are climbing a staircase. It takes n steps to reach the top. Each time you can either climb 1 or 2 steps. In how many distinct ways can you climb to the top? Example 1: Input: n = 2 Output: 2 Explanation: There are two ways to climb t.原创 2021-01-09 19:59:38 · 180 阅读 · 0 评论 -
leetcode 64.最小路径和(Java)
Minimum Path Sum Given a m x n grid filled with non-negative numbers, find a path from top left to bottom right, which minimizes the sum of all numbers along its path. Note: You can only move either down or right at any point in time. Example 1: Input: g.原创 2021-01-09 19:48:26 · 171 阅读 · 0 评论 -
leetcode 1143.最长公共子序列(Java)
Longest Common Subsequence Given two strings text1 and text2, return the length of their longest common subsequence. A subsequence of a string is a new string generated from the original string with some characters(can be none) deleted without changing t.原创 2021-01-09 19:25:38 · 236 阅读 · 0 评论
分享