← PayPal questions

Frequency of Most Frequent Substring Within Constraints

Filed under PayPal

Given a string `s`, find the frequency of the most frequent substring that satisfies three conditions: its length is between `minSize` and `maxSize` inclusive, and it contains no more than…

You've read your 3 free write-ups

Sign up free to keep reading. Your account opens the first 10 questions of every company.

Related PayPal questions

Collected from public candidate posts and coding forums. Updated Nov 2026.