← Infosys questions

Find minimum number occurring 4 consecutive times in a matrix

Filed under Infosys

Given an m x n grid of integers, find all numbers that appear consecutively 4 times horizontally, vertically, or diagonally (both main and anti-diagonals). Return the minimum among all qualifying…

You've read your 3 free write-ups

Sign up free to keep reading. Your account opens the first 10 questions of every company.

Related Infosys questions

Collected from public candidate posts and coding forums. Updated Nov 2026.