Apple | Virtual Onsite | Palindromes

Anonymous User
1143
Aug 03, 2022
Aug 03, 2022

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.

Comments (2)