일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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
- Generator
- shiba
- iterator
- 109. Convert Sorted List to Binary Search Tree
- 컴퓨터의 구조
- Python Code
- Python
- 파이썬
- 운영체제
- 30. Substring with Concatenation of All Words
- 43. Multiply Strings
- DWG
- concurrency
- 밴픽
- Python Implementation
- LeetCode
- t1
- Substring with Concatenation of All Words
- Convert Sorted List to Binary Search Tree
- attribute
- 715. Range Module
- 315. Count of Smaller Numbers After Self
- Protocol
- Class
- kaggle
- Decorator
- data science
- 시바견
- Regular Expression
- 프로그래머스
Archives
- Today
- Total
목록1284. Minimum Number of Flips to Convert Binary Matrix to Zero Matrix (1)
Scribbling
LeetCode: 1284. Minimum Number of Flips to Convert Binary Matrix to Zero Matrix
Key observations needed to solve this prob are as below. 1) There is no need to push the same button twice, as it doesn't make any change. 2) Sequence of buttons doesn't matter. In the provided example, a possible solution was (1,0)->(0,1)->(1,1). However, any sequences of the three buttons produce the same result. Functions we need: 1) isComplete(): checks whether matrix only has zeros or not 2..
Computer Science/Coding Test
2022. 3. 4. 12:57