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 |
Tags
- 파이썬알고리즘
- python zip_longest
- 릿코드 파이썬
- 릿코드풀이
- 릿코드
- 파이썬 알고리즘
- python sorted
- 알고리즘풀기
- python 릿코드
- python 알고리즘
- python Leetcode
- 잇츠디모
- binary search
- 상가수익률계산기
- leetcode 풀기
- 파이썬릿코드풀기
- LeetCode
- 파이썬알고리즘풀기
- leetcode풀기
- 파이썬 알고리즘 풀기
- python priority queue
- python xor
- 파이썬 프로그래머스
- 파이썬릿코드
- 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