Find the Longest Straight Run of One Color

Quick Overview

Find the longest straight run of equal-colored cells across horizontal, vertical, and both diagonal directions in a rectangular grid.

Find the Longest Straight Run of One Color

Company: Google

Role: Software Engineer

Category: Coding & Algorithms

Difficulty: hard

Interview Round: Technical Screen

Overview: Find the longest straight run of equal-colored cells across horizontal, vertical, and both diagonal directions in a rectangular grid.

Google logo
Google
Aug 23, 2026
hardSoftware EngineerTechnical ScreenCoding & Algorithms
33
0
Loading...