Count Negative Numbers in a Sorted Matrix | Leet code 1351 | Theory explained + Python code

Опубликовано: 23 Март 2026
на канале: Sai Anish Malla
5,347
117

This video is a solution to Leet code 1351, Count Negative Numbers in a Sorted Matrix. I explain the question and then go over two different solutions to solve it and then solve it using Python.

Comment below if you have a better solution to this problem!

Let me know if you have any feedback and don't forget to subscribe for more videos!

Code: https://leetcode.com/problems/count-n...

More leetcode questions solved:
   • Add and Search Word - Data structure desig...  

Gear used:
Mic: https://amzn.to/3awi3b6
Drawing pad: https://amzn.to/2O7PaaU