最新 最热

每日一刷《剑指offer》字符串篇之编辑距离

给定两个字符串 str1 和 str2 ,请你算出将 str1 转为 str2 的最少操作数。

2023-11-23
1

【第11题】题解及代码分享:状压DP,嗅大了,[ABC318D] General Weighted Max Matching

我麻溜的写完DFS顺利的AC掉,之后开始写状压DFS版代码,然后测了几组数据就直接提交了。

2023-11-22
3

【第009题】题解及代码分享:【难度】标签有毒,状压DP,CF1042B-Vitamins

今天分享的题目是状压DP题,这道题最大槽点:难度标签不太对,状压DP一般都要【普及/提高-】起。

2023-11-20
2

每日一刷《剑指offer》字符串篇之正则表达式匹配

在本题中,匹配是指字符串的所有字符匹配整个模式。例如,字符串"aaa"与模式"a.a"和"ab_ac_a"匹配,但是与"aa.a"和"ab*a"均不匹配...

2023-11-20
2

每日一刷《剑指offer》字符串篇之正则表达式匹配

在本题中,匹配是指字符串的所有字符匹配整个模式。例如,字符串"aaa"与模式"a.a"和"ab_ac_a"匹配,但是与"aa.a"和"ab*a"均不匹配...

2023-11-20
3

每日一刷《剑指offer》字符串篇之正则表达式匹配

在本题中,匹配是指字符串的所有字符匹配整个模式。例如,字符串"aaa"与模式"a.a"和"ab_ac_a"匹配,但是与"aa.a"和"ab*a"均不匹配...

2023-11-20
2

410. 分割数组的最大值

Given an array nums which consists of non-negative integers and an integer m, you can split the array into m non-empty continuous subarrays.

2023-11-18
1

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.

2023-11-18
1

1335. Minimum Difficulty of a Job Schedule

You want to schedule a list of jobs in d days. Jobs are dependent (i.e To work on the i-th job, you have to finish all the jobs j where 0 <= j < i).

2023-11-18
4