• Skip to primary navigation
  • Skip to content
  • Skip to footer
junyeong-nero's workspace
  • Problem Solving

    junyeong-nero

    UNIST, CSE 3th

    • Ulsan, Korea
    • Email
    • GitHub
    • Instagram

    23.06.08 Today’s Leetcode

    less than 1 minute read

    1351. Count Negative Numbers in a Sorted Matrix (easy)

    class Solution:
        def countNegatives(self, grid: List[List[int]]) -> int:
            res = 0
            for col in grid:
                res += bisect_left(col[::-1], 0)
            return res
    

    Tags: leetcode

    Categories: leetcode

    Updated: June 8, 2023

    Share on

    Twitter Facebook LinkedIn
    Previous Next

    You may also enjoy

    23.10.30 Today’s Leetcode

    less than 1 minute read

    1356. Sort Integers by The Number of 1 Bits

    23.10.29 Today’s Leetcode

    less than 1 minute read

    ##

    23.10.28 Today’s Leetcode

    less than 1 minute read

    5. Longest Palindromic Substring (medium)

    23.10.27 Today’s Leetcode

    less than 1 minute read

    823. Binary Trees With Factors

    • Follow:
    • Feed
    © 2024 junyeong-nero. Powered by Jekyll & Minimal Mistakes.