</>OfferRetriever
DashboardDiscuss
NEW

Autumn Sale

Limited Time Deal: Unlock all premium questions for over 30% off

$10.42$7.08

--

:

--

:

--

:

--

Get this deal
Get this deal
Back to Capital One Questions

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

All Capital One interview questions
OfferRetriever

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

PRODUCT
PricingDashboardDiscussOfferRetriever vs LeetCodeCompare
LEGAL
POPULAR COMPANIES
GoogleMetaAmazonMicrosoftNetflixStripeUberTikTokBrowse all companies →

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