threeal / leetspace

A dedicated workspace and archive for my LeetCode submissions
https://leetcode.com/threeal
MIT License
1 stars 1 forks source link

Solve Problem 1380. Lucky Numbers in a Matrix #1354

Closed threeal closed 1 month ago

threeal commented 1 month ago

This issue suggests solving the problem 1380. Lucky Numbers in a Matrix. To achieve this, one can simply iterate through the elements of the given matrix to check whether a number is both the minimum in the row and the maximum in the column.