摘要:
# Content 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 阅读全文
posted @ 2023-08-18 15:28
shea24
阅读(10)
评论(0)
推荐(0)
摘要:
# Content There is a robot on an m x n grid. The robot is initially located at the top-left corner (i.e., grid[0][0]). The robot tries to move to the 阅读全文
posted @ 2023-08-18 15:14
shea24
阅读(7)
评论(0)
推荐(0)
摘要:
# Content 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 阅读全文
posted @ 2023-08-18 15:14
shea24
阅读(16)
评论(0)
推荐(0)
摘要:
# Content You are given an integer array nums. You are initially positioned at the array's first index, and each element in the array represents your 阅读全文
posted @ 2023-08-18 15:14
shea24
阅读(22)
评论(0)
推荐(0)
摘要:
# Content Given a string containing just the characters '(' and ')', return the length of the longest valid (well-formed) parentheses substring. Examp 阅读全文
posted @ 2023-08-18 15:14
shea24
阅读(9)
评论(0)
推荐(0)
摘要:
# Content Given n non-negative integers representing an elevation map where the width of each bar is 1, compute how much water it can trap after raini 阅读全文
posted @ 2023-08-18 15:14
shea24
阅读(15)
评论(0)
推荐(0)
摘要:
# Content Given an input string s and a pattern p, implement regular expression matching with support for '.' and '*' where: '.' Matches any single ch 阅读全文
posted @ 2023-08-18 15:14
shea24
阅读(9)
评论(0)
推荐(0)
摘要:
# Content Given an integer array nums, find the subarray with the largest sum, and return its sum. Example 1: Input: nums = [-2,1,-3,4,-1,2,1,-5,4] Ou 阅读全文
posted @ 2023-08-18 15:14
shea24
阅读(30)
评论(0)
推荐(0)