일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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
- kaggle
- concurrency
- shiba
- 밴픽
- Class
- Regular Expression
- Protocol
- 프로그래머스
- 시바견
- LeetCode
- iterator
- data science
- 715. Range Module
- Python Implementation
- 컴퓨터의 구조
- Python
- 315. Count of Smaller Numbers After Self
- 109. Convert Sorted List to Binary Search Tree
- Decorator
- 운영체제
- attribute
- 30. Substring with Concatenation of All Words
- DWG
- Convert Sorted List to Binary Search Tree
- t1
- Python Code
- 43. Multiply Strings
- 파이썬
- Generator
- Substring with Concatenation of All Words
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