Notice
250x250
Recent Posts
Recent Comments
Link
목록2024/06/09 (1)
넘치게 채우기
[LeetCode] 974. Subarray Sums Divisible by K
https://leetcode.com/problems/subarray-sums-divisible-by-k/description/leetcode - Subarray Sums Divisible by K문제 유형 : 부분합문제 난이도 : Medium 문제Given an integer array nums and an integer k, return the number of non-empty subarrays that have a sum divisible by k.A subarray is a contiguous part of an array. 정수배열 nums와 정수 k가 주어진다.길이가 1이상이며 합이 k의배수인 부분배열의 개수를 구하시오. 풀이부분합으로 값을 누적해서 풀어주면 된다.https://riverov..
PS/LeetCode
2024. 6. 9. 10:17