Notice
Recent Posts
Recent Comments
Link
| 일 | 월 | 화 | 수 | 목 | 금 | 토 |
|---|---|---|---|---|---|---|
| 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
- python priority queue
- leetcode풀이
- 릿코드 파이썬
- 파이썬알고리즘
- 릿코드풀이
- 알고리즘풀기
- 파이썬 프로그래머스
- python zip_longest
- 릿코드풀기
- 상가수익률계산기
- 파이썬 알고리즘 풀기
- 잇츠디모
- python 릿코드
- python xor
- python sorted
- 코틀린기초
- 파이썬 릿코드
- 릿코드
- 릿코드 풀기
- leetcode풀기
- 파이썬 알고리즘
- LeetCode
- 파이썬릿코드풀기
- 알고리즘풀이
- binary search
- 파이썬알고리즘풀기
- python 알고리즘
- 파이썬릿코드
- leetcode 풀기
- python Leetcode
Archives
- Today
- Total
목록python map (1)
소프트웨어에 대한 모든 것
Richest Customer Wealth 문제) 솔루션1) class Solution: def maximumWealth(self, accounts: List[List[int]]) -> int: max_wealth = 0 for account in accounts: max_wealth = max(max_wealth, sum(account)) return max_wealth 솔루션2) class Solution: def maximumWealth(self, accounts: List[List[int]]) -> int: return max(map(sum, accounts))
알고리즘/LeetCode
2021. 10. 16. 16:13