First Completely Painted Row or Column at Citadel

Medium63.9% acceptance

This problem has 87.5% frequency at Citadel.

Problem Description

You are given a **0-indexed** integer array `arr`, and an `m x n` integer **matrix** `mat`. `arr` and `mat` both contain **all** the integers in the range `[1, m * n]`. Go through each index `i` in `arr` starting from index `0` and paint the cell in `mat` containing the integer `arr[i]`. Return _t...

Read full problem and hints

Topics

Also asked at 2 companies


More Citadel Questions

View all Citadel questions