일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | |||
5 | 6 | 7 | 8 | 9 | 10 | 11 |
12 | 13 | 14 | 15 | 16 | 17 | 18 |
19 | 20 | 21 | 22 | 23 | 24 | 25 |
26 | 27 | 28 | 29 | 30 | 31 |
Tags
- Substring with Concatenation of All Words
- Protocol
- shiba
- 315. Count of Smaller Numbers After Self
- 109. Convert Sorted List to Binary Search Tree
- iterator
- Generator
- 컴퓨터의 구조
- 운영체제
- LeetCode
- 43. Multiply Strings
- kaggle
- Decorator
- 밴픽
- concurrency
- Class
- data science
- Python Code
- 파이썬
- attribute
- Python
- 715. Range Module
- 프로그래머스
- Regular Expression
- 30. Substring with Concatenation of All Words
- 시바견
- t1
- DWG
- Python Implementation
- Convert Sorted List to Binary Search Tree
Archives
- Today
- Total
목록Set Matrix Zeroes (1)
Scribbling
LeetCode: 73. Set Matrix Zeroes
class Solution: def setZeroes(self, matrix: List[List[int]]) -> None: """ Do not return anything, modify matrix in-place instead. """ m, n = len(matrix), len(matrix[0]) for y in range(m): for x in range(n): if matrix[y][x] == 0: self.inspect_row(matrix, y, x) self.inspect_column(matrix, y, x) elif matrix[y][x] == 'row inspected zero': self.inspect_column(matrix, y, x) elif matrix[y][x] == 'colum..
Computer Science/Coding Test
2021. 9. 28. 20:28