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
- sorting
- Array
- two pointers
- list
- 쉬움
- Binary
- leetcode
- Python
- binary search
- 중간
- backtracking
- Depth-first Search
- recursive
- HashTable
- hash table
- 재귀
- 미디움
- tree
- easy
- 이진트리
- linked list
- Medium
- matrix
- dfs
- 문자열
- DP
- math
- binary tree
- string
- 리트코드
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