Goldman Sachs logoGoldman Sachs
Coding·60 minMembers

Count Palindromic Substrings

Members only

Count the total number of palindromic substrings in the input string. The canonical expand-around-center problem appears verbatim in both engineering and Quant Strats OAs, including a 30-minute coding...

SWE
RS
string
palindromes
medium
Frequency
Low
Last asked
2026-08-29
Stage
oa

Log in to continue reading the full content

Comments

Sign in to join the discussion
Loading...