Find the Longest Run of One Character

Read the full interview experience this question came from →

Quick Overview

Implement the length of the longest consecutive run of one character in an ASCII string. Distinguish adjacent runs from total frequency while handling empty input, boundary transitions, linear scaling, and constant auxiliary state.

Find the Longest Run of One Character

Company: Netflix

Role: Software Engineer

Category: Coding & Algorithms

Difficulty: medium

Interview Round: Technical Screen

Overview: Implement the length of the longest consecutive run of one character in an ASCII string. Distinguish adjacent runs from total frequency while handling empty input, boundary transitions, linear scaling, and constant auxiliary state.

Read the full Netflix Software Engineer interview experience this question came from

Netflix logo
Netflix
Jul 31, 2026
mediumSoftware EngineerTechnical ScreenCoding & Algorithms
6
0
Loading...