xinyu04

导航

2022年8月13日 #

LeetCode 583 Delete Operation for Two Strings

摘要: 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 exactly o 阅读全文

posted @ 2022-08-13 22:58 Blackzxy 阅读(11) 评论(0) 推荐(0) 编辑

LeetCode 1143 Longest Common Subsequence

摘要: Given two strings text1 and text2, return the length of their longest common subsequence. If there is no common subsequence, return 0. A subsequence o 阅读全文

posted @ 2022-08-13 15:27 Blackzxy 阅读(15) 评论(0) 推荐(0) 编辑

MathProblem 25 Guess the age problem

摘要: Person x and y have the following conversation: x: I forgot how old your three kids are. y: The product of their ages is 36. x: I still don't know the 阅读全文

posted @ 2022-08-13 05:48 Blackzxy 阅读(17) 评论(0) 推荐(0) 编辑

MathProblem 24 Baby bottle problem

摘要: You need to warm milk in a baby bottle from its initial temperature of 15 degrees centigrade to 25 degrees. You put the bottle in a pot of boiling wat 阅读全文

posted @ 2022-08-13 04:48 Blackzxy 阅读(16) 评论(0) 推荐(0) 编辑

LeetCode 673 Number of Longest Increasing Subsequence

摘要: Given an integer array nums, return the number of longest increasing subsequences. Notice that the sequence has to be strictly increasing. Solution 我们 阅读全文

posted @ 2022-08-13 01:33 Blackzxy 阅读(12) 评论(0) 推荐(0) 编辑