1p3a_oj Question

Maximum Prefix and Suffix Score

Question Details

Given three strings: text, prefixStr, and suffixStr. Define prefixScore as the maximal length of substring from text that can match prefixStr from the end. Define suffixScore as the maxi

Full Details

🔒

Unlock all Citadel questions

Full insider details, leaked discussions, and candidate experiences.

or every company, $100/year →

About This Question

This is a reported interview question from a citadel interview for a swe role during the coding round.

It covers the following topics: Strings .

Topics