본문 바로가기

.Zzumbong

검색하기
프로필사진
.Zzumbong
Front-End 개발자의 탐험 일지 Keep Exploring!.
Work smart not hard.
포트폴리오
  • 전체 (113)
    • Dev (5)
    • coding test (77)
      • leetCode (66)
      • programmers (11)
    • EveryDay (31)
      • Food (3)
      • Game (5)
      • Goods (10)
      • PLA-MODEL (9)

  • 전체 (113)
    • Dev (5)
    • coding test (77)
      • leetCode (66)
      • programmers (11)
    • EveryDay (31)
      • Food (3)
      • Game (5)
      • Goods (10)
      • PLA-MODEL (9)
Guestbook
Notice
Recent Posts
Recent Comments
Link
«   2022/11   »
일 월 화 수 목 금 토
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
Tags
  • 지리데칼
  • 포켓몬
  • 블라인드박스
  • 맛집
  • 누룽지소금빵
  • 메탈퍼즐
  • 코테
  • 코딩테스트
  • 지쿠악스
  • 노노그램
  • 유루건
  • 건담헤드
  • DIY
  • 바질토마토뭐시기
  • 롱라이플
  • 발더스게이트
  • 건담
  • 미앤아이
  • 눈알빠지겠네
  • 밥무하마드
  • 우리시대의역설
  • javascript
  • 취미
  • 발더스모드
  • LeetCode
  • 30mf
  • 프라모델
  • 가챠
  • 제프딕슨
  • 게임
more
Archives
Today
Total
관리 메뉴

목록2022/11/25 (1)

.Zzumbong

[leetCocd/JS] 907. Sum of Subarray Minimums

문제 설명 Given an array of integers arr, find the sum of min(b), where b ranges over every (contiguous) subarray of arr. Since the answer may be large, return the answer modulo 109 + 7. 정수 배열에서 min(b)의 합을 구하는데, b는 arr의 모든 연속된 하위 배열이란다. 예제를 보면 이해하 간다. 숫자가 크니까 modulo로 나머지를 리턴하란다. 입출력 예 Example 1: Input: arr = [3,1,2,4] Output: 17 Explanation: Subarrays are [3], [1], [2], [4], [3,1], [1,2], [2,4], [3,..

coding test/leetCode 2022. 11. 25. 13:11
이전 Prev 1 Next 다음

Blog is powered by kakao / Designed by Tistory

티스토리툴바