[프로그래머스] 연속 펄스 부분 수열의 합
문제https://school.programmers.co.kr/learn/courses/30/lessons/161988 프로그래머스SW개발자를 위한 평가, 교육, 채용까지 Total Solution을 제공하는 개발자 성장을 위한 베이스캠프programmers.co.kr 입출력sequence[2, 3, -6, 1, 3, -1, 2, 4] result 10 코드 import java.util.*;class Solution { public long solution(int[] sequence) { long answer = 0; int[] type1 = new int[sequence.length]; int[] type2 = new int[sequence.length..