LeetCode-131 split palindrome string

Split palindrome string Title Description: give you a string s. please divide s into some substrings so that each substring is a palindrome string. Returns s all possible segmentation schemes. A palindrome string is a string that reads the same forward and reverse. See LeetCode's official website for an example. Source: LeetCode Link: https:// ...

Posted by depraved on Sun, 28 Nov 2021 03:09:39 +0100

Explanation of recursive algorithm

1, Introduction Master L. Peter Deutsch said: to iterate is human, to recurse, divide. There is no doubt that recursion is a wonderful way of thinking. For some simple recursive problems, we are always amazed at the ability of recursion to describe the problem and the simplicity of writing code, but it is not easy to truly understand the essenc ...

Posted by rinteractive on Thu, 28 Oct 2021 02:26:54 +0200

The solution and application of the addition of two numbers in three minutes - algorithmic practice

💂 Personal homepage: IT learning diary🤟 Copyright: This article was originally written by [IT learning diary] and launched in CSDN. If you need to reprint IT, please contact the blogger💬 If the article is helpful to you, welcome to follow, like, collect (one click, three links) and subscribe to the column💅 To find a small partner for ...

Posted by guitarlvr on Wed, 20 Oct 2021 02:47:30 +0200