SnowScriptWinterOfCode / LeetCode_Q

Solve with us the most mind boggling DSA questions to ace your skills
2 stars 50 forks source link

Day-26/q1: Palindrome Partitioning II #616

Open prerna-rn opened 9 months ago

prerna-rn commented 9 months ago

Given a string s, partition s such that every substring of the partition is a palindrome.

Return the minimum cuts needed for a palindrome partitioning of s.

Example 1:

Input: s = "aab" Output: 1 Explanation: The palindrome partitioning ["aa","b"] could be produced using 1 cut.

Example 2:

Input: s = "a" Output: 0

Example 3:

Input: s = "ab" Output: 1

Constraints:

1 <= s.length <= 2000
s consists of lowercase English letters only.

https://leetcode.com/problems/palindrome-partitioning-ii/description/

Kalpana8055 commented 9 months ago

@bh-g please assign to me

Tech-neophyte commented 9 months ago

@bh-g Please assign this ques to me...

Anomasingh commented 9 months ago

Please assign this issue to me.. @bh-g

avanimathur commented 9 months ago

Please assign it to me @bh-g