Winter SalePremium questions, over 25% offUnlock all premium questions for over 25% off
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
...
More Microsoft interview questions
- Non-Adjacent Team Selectionhard
- Rate Limiterhard
- Design Rate Limitermedium
- Object Oriented Design - Notification Servicemedium
- Shortest Substring with N Unique Charactersmedium
- Top 5 System Design Questions Jan 2026hard
- Object Oriented Design - Idempotent Receipt Sendingmedium
- Minimum Board Length for Holesmedium
OfferRetriever
Master technical interviews with real questions from top companies. Build your confidence and career.
LEGAL
© 2026 Purple Business Holdings LLC. All rights reserved. See Terms of Service.