본문 바로가기

N

검색하기
N
프로필사진 naeunchan

  • CS (709)
    • C++ (0)
      • Effective C++ (0)
    • TIL (21)
    • 프로그래머스 알고리즘 (225)
      • 1단계 (50)
      • 2단계 (62)
      • 3단계 (28)
      • 4단계 (2)
      • KAKAO (56)
      • Weekly Challenge (10)
      • MySQL (17)
    • goorm (9)
    • 백준 알고리즘 (164)
    • SW Expert Academy (98)
    • Leet Code 알고리즘 (179)
    • Front-end (1)
    • Node.js (8)
Guestbook
250x250
반응형
Notice
Recent Posts
Recent Comments
Link
«   2025/05   »
일 월 화 수 목 금 토
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
  • kakao
  • 백준
  • dp
  • 큐
  • 알고리즘
  • leet code
  • 삼성
  • Greedy
  • 위클리 챌린지
  • C++
  • 프로그래머스
  • 정렬
  • mysql
  • 스택
  • SWEA
  • js
  • string
  • dfs
  • map
  • 1단계
  • 2단계
  • BFS
  • til
  • 완전탐색
  • 문자열
  • 코딩 테스트
  • Queue
  • Sort
  • 조합
  • 카카오
more
Archives
Today
Total
관리 메뉴
  • 글쓰기
  • 방명록
  • RSS
  • 관리

목록얼고리즘 (1)

N

(Leet Code JS)Maximum Subarry

53. Maximum Subarray Given an integer array nums, find the contiguous subarray (containing at least one number) which has the largest sum and return its sum. A subarray is a contiguous part of an array. Example 1: Input: nums = [-2,1,-3,4,-1,2,1,-5,4] Output: 6 Explanation: [4,-1,2,1] has the largest sum = 6. Example 2: Input: nums = [1] Output: 1 Example 3: Input: nums = [5,4,-1,7,8] Output: 23..

Leet Code 알고리즘 2021. 10. 12. 09:52
이전 Prev 1 Next 다음

Blog is powered by kakao / Designed by Tistory

티스토리툴바