Autumn Sale
Limited Time Deal: Unlock all premium questions for over 30% off
$10.42$7.08
--
:
--
:
--
:
--
Rightmost Longest Character Run
Easy
Question
You are given a string source consisting of lowercase English letters. Your task is to find the longest contiguous substring consisting of the same character. If there are several substrings of the same length that meet this condition, find the rightmost one.
...
Asked at:Capital One
More Capital One interview questions
- Even Position Monotonicityeasy
- [CodeSignal] Battery Rotation Schedulerhard
- [CodeSignal] Grid Arithmetic Pathhard
- [CodeSignal] Cyclic Consonant Shifteasy
- [CodeSignal] Leftmost Zero Fillermedium
- [CodeSignal] Matrix Command Enginemedium
- [CodeSignal] Sequential House Buildermedium
- [CodeSignal] Vowel Enclosed Reversaleasy
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.