Questions / FactSet

Largest Square of Ones

Asked at FactSet · Coding Questions · Difficulty: Medium

You are given a square grid of `0`s and `1`s. Find the largest square block made up only of `1`s and return the length of its side.

Loading the problem…

More FactSet interview questions

  • Photo Album
  • Last Stone Weight
  • Two-Team Turn-Based Battle Simulator
  • Toy Language Type System
  • Grid Infection and Immunity Simulation
  • Earliest Supporting Version with a Probe Budget
All FactSet questions