RiyazConnect Ropes(code and explanation)Yet another question on a mixture on Greedy approach utilizing heap data structure Problem Statement Given ’N’ ropes with different…Feb 21, 2022Feb 21, 2022
Riyaz‘K’ Closest Numbers(code and explanation)Problem Statement Given a number array and two integers ‘K’ and ‘X’, find ‘K’ closest numbers to ‘X’ in the array. Return the numbers in…Feb 21, 2022Feb 21, 2022
RiyazRemove Stones to minimize the Total(code and Explanation)PROBLEM STATEMENT You are given a 0-indexed integer array piles, where piles[i] represents the number of stones in the ith pile, and an…Feb 21, 2022Feb 21, 2022
RiyazBinary Tree Path Sum(code and Explanation)Problem Statement Q.)Given the root of a binary tree and an integer targetSum, return all root-to-leaf paths where the sum of the node…Feb 21, 2022Feb 21, 2022
RiyazFind minimum in rotated sorted array in Python(code and explanation)Problem statement Suppose an array of length n sorted in ascending order is rotated between 1 and n times. For example, the array nums =…Feb 21, 2022Feb 21, 2022
RiyazHow to start Leetcode grindSince you have click on this blog i may assume you are a complete beginner in leetcode and want to start your leetcode journey to get into…Jan 27, 2022Jan 27, 2022