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

Loading…