Apple | Virtual Onsite | Palindromes
Difficulty: MEDIUMCategory: InterviewExperienceFrequency: 1Asked On 2022-08-03Added By Anonymous
Source: Link
This question was asked in one of my 60 min sessions.
Part I: Given a String, find all substring palindromes of minimum length k.
Part II: Given a String, find the max number of substring palindromes of minimum length k with no overlaps.
I think Part I was similar to this:
https://leetcode.com/problems/palindromic-substrings/
I ran out of time for Part II.