โ† ServiceNow questions

Find all occurrences in a row-col sorted matrix

Filed under ServiceNow

The question

Given a matrix with all rows and columns sorted, print the row and column indices for every occurrence of a given number.

No write-up yet. Related questions below have one.

Related ServiceNow questions

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