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 hintsTopics
Also asked at 2 companies
More Citadel Questions
Sliding Window MaximumHardBest Time to Buy and Sell StockEasyMaximum Total Damage With Spell CastingMediumBest Position for a Service CentreHardMaximum Length of Repeated SubarrayMedium
View all Citadel questions