package
0.0.0-20241220224003-b7cf03a90b2b
Repository: https://github.com/szhou12/leetcode-go.git
Documentation: pkg.go.dev
# README
131. Palindrome Partitioning
Solution idea
DFS
# levels = len(s)
# branches = [last cut ... end of string]
Time complexity = $O(2^n)$
解释: 切割问题其实是一种组合问题! 每个位置都有切或者不切两种情况