The link : leetcode.com/problems/subarray-sum-equals-k/Subarray Sum Equals K - LeetCodeLevel up your coding skills and quickly land a job. This is the best place to expand your knowledge and get prepared for your next interview.leetcode.com 문제에 친절하게도 힌트가 주어져있었고, 힌트 덕분에 풀 수 있었다. 문제 풀이는 다음과 같다. 1. key가 int, value가 int인 맵을 구현한다.2. 맵의 [0] = 1로 저장해둔다. 두 연속된 배열의 차가 0이거나, 배열의 원소가 1개인 값이 k인 경우를 고려해서 넣는 ..