上一页 1 2 3 4 5 6 7 8 ··· 12 下一页
摘要: 题目 Given two strings word1 and word2, return the minimum number of operations required to convert word1 to word2. You have the following three operati 阅读全文
posted @ 2022-04-08 15:46 frankming 阅读(18) 评论(0) 推荐(0) 编辑
摘要: 题目 Given two strings word1 and word2, return the minimum number of steps required to make word1 and word2 the same. In one step, you can delete exactl 阅读全文
posted @ 2022-04-08 15:08 frankming 阅读(18) 评论(0) 推荐(0) 编辑
摘要: 题目 Given an integer array nums, return the number of longest increasing subsequences. Notice that the sequence has to be strictly increasing. Example 阅读全文
posted @ 2022-04-07 13:36 frankming 阅读(22) 评论(0) 推荐(0) 编辑
摘要: 题目 Given an integer array nums, return the length of the longest strictly increasing subsequence. A subsequence is a sequence that can be derived from 阅读全文
posted @ 2022-04-06 17:11 frankming 阅读(18) 评论(0) 推荐(0) 编辑
摘要: 题目 Given a string s and a dictionary of strings wordDict, return true if s can be segmented into a space-separated sequence of one or more dictionary 阅读全文
posted @ 2022-04-06 14:28 frankming 阅读(23) 评论(0) 推荐(0) 编辑
摘要: 题目 An integer array is called arithmetic if it consists of at least three elements and if the difference between any two consecutive elements is the s 阅读全文
posted @ 2022-04-06 11:50 frankming 阅读(15) 评论(0) 推荐(0) 编辑
摘要: 题目 An integer array is called arithmetic if it consists of at least three elements and if the difference between any two consecutive elements is the s 阅读全文
posted @ 2022-04-02 17:26 frankming 阅读(20) 评论(0) 推荐(0) 编辑
摘要: 题目 Given a string s, return the longest palindromic substring in s. Example 1: Input: s = "babad" Output: "bab" Explanation: "aba" is also a valid ans 阅读全文
posted @ 2022-04-02 15:14 frankming 阅读(17) 评论(0) 推荐(0) 编辑
摘要: 题目 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 bottom- 阅读全文
posted @ 2022-04-02 14:36 frankming 阅读(11) 评论(0) 推荐(0) 编辑
摘要: 题目 Given an array of non-negative integers nums, you are initially positioned at the first index of the array. Each element in the array represents yo 阅读全文
posted @ 2022-04-02 14:29 frankming 阅读(25) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 8 ··· 12 下一页