← Goldman Sachs questions

Positional elements in a matrix

Filed under Goldman Sachs

Given a matrix, find the number of positional elements. A positional element is defined as an element that is either the minimum or maximum in its row, or the minimum or maximum in its column. Return…

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 Goldman Sachs questions

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