https://github.com/vilgad/DSA-Days · Problem Statement Given an array of positive integers arr, return the sum of all possible odd-length subarrays of...
https://github.com/vilgad/DSA-Days · Problem Statement Given the array nums, for each nums[i] find out how many numbers in the array are smaller than it....
https://github.com/vilgad/DSA-Days · Problem Statement Given an array nums. We define a running sum of an array as runningSum[i] =...
https://github.com/vilgad/DSA-Days · Problem Statement You are given an m x n integer grid accounts where accounts[i][j] is the amount of money the...
https://github.com/vilgad/DSA-Days · Problem Statement Given an array of integers nums, return the number of good pairs.A pair (i, j) is called good if...
Github Repo: https://github.com/vilgad/DSA-Days · Problem Statement Given the array nums consisting of 2n elements in the form...