1p3a_oj Question

Longest Substring with Repeated Character

Question Details

Given a string, write a program to find the longest substring with repeated characters. For example, the longest substring with repeated characters in the string 'abcddeee' is 'eee'. Input: A string.

Full Details

🔒

Unlock all Pinterest 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 pinterest interview for a swe role during the coding round.

It covers the following topics: Strings .

Topics