1p3a_oj Question

LeetCode 1198 — Find Smallest Common Element in All Rows

Question Details

Given an m x n integer matrix mat where each row is sorted in non-decreasing order, find the smallest integer that appears in every row. Return the smallest such integer if it exists. -

Full Details

🔒

Unlock all Sofi questions

Full insider details, leaked discussions, and candidate experiences.

or every company, $100/year →

About This Question

This is a reported interview question from a sofi interview for a swe role during the coding round.

It covers the following topics: Arrays, Matrix .