일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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
- 715. Range Module
- Python Implementation
- iterator
- Python
- 파이썬
- 109. Convert Sorted List to Binary Search Tree
- shiba
- DWG
- 프로그래머스
- 315. Count of Smaller Numbers After Self
- 43. Multiply Strings
- concurrency
- Generator
- LeetCode
- 밴픽
- t1
- data science
- 30. Substring with Concatenation of All Words
- 시바견
- Python Code
- Class
- Protocol
- attribute
- 컴퓨터의 구조
- Regular Expression
- kaggle
- Convert Sorted List to Binary Search Tree
- 운영체제
- Substring with Concatenation of All Words
- Decorator
Archives
- Today
- Total
목록465. Optimal Account Balancing (1)
Scribbling
LeetCode: 465. Optimal Account Balancing
First, we look through all the transactions and check how much money(or debt) each one has. Array self.money is storing that information, and we excluded the ones who don't have any money or debt. Next, let's define "helper(self, indexs)" as our goal function. It will return 'min # of transactions needed'. Here, we take indexes (tuple type) as the parameter of the function so that we can easily ..
Computer Science/Coding Test
2022. 2. 17. 20:19