top of page
Ashwin Shirva
Writer
More actions
Profile
Join date: Jan 1, 2022
Posts (9)

Feb 6, 2025 ∙ 6 min
974. Subarray Sums Divisible by K - LeetCode Fastest Solution
Given an 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
15
1

Jan 29, 2025 ∙ 5 min
930. Binary Subarrays With Sum - LeetCode Fastest Solution
Given a binary array nums and an integer goal, return the number of subarrays with a sum equal to goal. A subarray is a contiguous part of
25
1

Jan 25, 2025 ∙ 5 min
560. Subarray Sum Equals K - LeetCode Fastest Solution
Given an integer array nums and an integer k, return the total number of subarrays in nums whose sum is equal to k. A subarray is a
147
1
bottom of page