</>OfferRetriever
DashboardDiscuss
NEW
Halloween SalePremium questions, over 30% offUnlock all premium questions for over 30% off
$10.42$7.08/mo

--

:

--

:

--

:

--

Get this deal
Back to Microsoft Questions

Bounded Repeat Substring

Medium

A sensor data stream is represented as a string of characters. A contiguous segment of the stream is considered valid if it contains no three consecutive identical characters. Find the length of the longest valid contiguous segment.

Example 1

...

Asked at:MicrosoftTikTok

More Microsoft interview questions

All Microsoft interview questions
OfferRetriever

Master technical interviews with real questions from top companies. Build your confidence and career.

PRODUCT
PricingDashboardDiscussOfferRetriever vs LeetCodeCompare
LEGAL

© 2026 Purple Business Holdings LLC. All rights reserved. See Terms of Service.