Given an array of integers and an integer k, you need to find the total number of continuous subarrays whose sum equals to k.
974. Subarray Sums Divisible by K
发表于
|
分类于
leetcode
Given an array A
of integers, return the number of (contiguous, non-empty) subarrays that have a sum divisible by K
.
560. Subarray Sum Equals K
发表于
|
分类于
leetcode
Given an array of integers and an integer k, you need to find the total number of continuous subarrays whose sum equals to k.
784. Letter Case Permutation
发表于
|
分类于
leetcode
Given a string S, we can transform every letter individually to be lowercase or uppercase to create another string. Return a list of all possible strings we could create.