Grokking the Coding Interview: Patterns for Coding Questions
Ask Author
Back to course home

0% completed

Vote For New Content

1 Line solution for the problem

Naveen Gupta

Feb 17, 2025

0

6

0

Feb 17, 2025

On leetcode this question is marked easy

lejafilip

Oct 12, 2024

1

15

0

Apr 20, 2025

Time complexity should be O(N^2) is input matrix is guaranteed to be a square or...

J

Dec 8, 2022

1

21

0

Dec 8, 2022

The solution given assumes the matrix is square. Update C to be len(matrix[0]) o...

Pete Stenger

Aug 30, 2022

0

22

0

Aug 30, 2022

On this page