1219. 黄金矿工 https://leetcode.cn/problems/path-with-maximum-gold

1849. 将字符串拆分为递减的连续值 https://leetcode.cn/problems/splitting-a-string-into-descending-consecutive-values

1593. 拆分字符串使唯一子字符串的数目最大 https://leetcode.cn/problems/split-a-string-into-the-max-number-of-unique-substrings

1079. 活字印刷 https://leetcode.cn/problems/letter-tile-possibilities

996. 正方形数组的数目 https://leetcode.cn/problems/number-of-squareful-arrays

784. 字母大小写全排列 https://leetcode.cn/problems/letter-case-permutation

638. 大礼包 https://leetcode.cn/problems/shopping-offers

前置知识

学习本章回溯算法习题之前,你必须掌握以下文章中所讲的思维方法:

1219. 黄金矿工

基本思路

解法代码

可视化

1849. 将字符串拆分为递减的连续值

基本思路

解法代码

可视化

1593. 拆分字符串使唯一子字符串的数目最大

基本思路

解法代码

1079. 活字印刷

基本思路

解法代码

可视化

996. 平方数组的数目

基本思路

解法代码

可视化

784. 字母大小写全排列

基本思路

解法代码

可视化

638. 大礼包

基本思路

解法代码

可视化

loading...