Given an N x N binary matrix, find the order of the largest axis-aligned plus sign of 1s. A plus sign of order k has a center (r, c) and four arms of length k-1 extending up, down, left, and right…
You've read your 3 free write-ups
Sign up free to keep reading. Your account opens the first 10 questions of every company.