Given a binary matrix, find the minimum index (i, i) on the diagonal where either the i-th row contains all 0s and the i-th column contains all 1s, or vice versa, excluding the diagonal element at (i…
You've read your 3 free write-ups
Sign up free to keep reading. Your account opens the first 10 questions of every company.