top of page

One Stop Code Shop
Pick from a vast collection of quality content across a wide range of topics.
Latest Posts

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
Ashwin Shirva
Feb 66 min read
63 views
1 comment

2574. Left and Right Sum Differences - LeetCode Best Solution
Given an integer array nums return an array result such that result.length == nums.length and result[i] is the absolute difference between
Code Recipe
Jan 314 min read
27 views
1 comment

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
Ashwin Shirva
Jan 295 min read
60 views
1 comment


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
Ashwin Shirva
Jan 255 min read
523 views
1 comment
bottom of page