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
- easy
- Medium
- Array
- binary search
- hash table
- 중간
- 문자열
- 미디움
- backtracking
- matrix
- 쉬움
- DP
- 리트코드
- dfs
- 재귀
- linked list
- list
- recursive
- string
- 이진트리
- Python
- binary tree
- HashTable
- Binary
- two pointers
- Depth-first Search
- math
- sorting
- tree
- leetcode
Archives
- Today
- Total
목록Kadane's Algorithm (1)
부부의 코딩 성장 일기
LeetCode 53(Maximum Subarray, Python)
1. 문제 링크 https://leetcode.com/problems/maximum-subarray/ Maximum Subarray - LeetCode Can you solve this real interview question? Maximum Subarray - Given an integer array nums, find the subarray with the largest sum, and return its sum. Example 1: Input: nums = [-2,1,-3,4,-1,2,1,-5,4] Output: 6 Explanation: The subarray [4,-1,2,1] has t leetcode.com 2. 문제 설명 정수로 구성된 array가 주어졌을 때, element의 합이 가장..
Algorithm/LeetCode
2024. 1. 8. 19:00