Shenile Ashenile.hashnode.dev·Sep 9, 2024Optimal Solution for Array Subset Problem: A Comprehensive GuideChecking if a Smaller Array is Completely Contained in a Larger Array ( Efficient Approach ) In this blog, we’ll walk through how to solve the problem of checking whether a smaller array (subset) is completely contained within a larger array using C+...10 likes·57 readsarray subset
Sahil Jagtapsahiljagtap.hashnode.dev·Jun 18, 2024Dealing with Array & Hashing Problems: Essential Tips and Tricks: Part 1In this article, we will explore arrays and hashing problems with the top 5 famous challenges. If you've ever been frustrated by dynamic arrays or hashing problems on platforms like LeetCode, don't worry! After reading this article, you'll master the...1 likeAlgorithms Series by Sahilarrays
Abi Farhanabifarhan.hashnode.dev·May 18, 2023Exploring LeetCode: Median of Two Sorted ArraysIntroduction: The "Median of Two Sorted Arrays" problem holds significant value in the realm of algorithmic programming. It presents a captivating challenge that requires finding the median value, a vital statistical measure with practical implicatio...leetcode
Prince Kumarcoder152.hashnode.dev·Feb 13, 2023Find Minimum Sum of price required to select atleast M distinct values from array else return -1We will be given two arrays having n elements from which one array values [] will be the collection of values and another array price[] will be the collection of prices. We have to select the m distinct values such that the sum of the price will be m...39 readsArray problems
Rohit Guptarohitguptaindu.hashnode.dev·Jan 22, 2023Reverse a string or arrayProblem Statement You have given a string A. Your task is to reverse that string. Example input: Developersway output: yawsrepoleveD Approaches Approach 1 Create an empty string B. Then iterate over string A from its end to the start for each of ...153 readsSolutions of DSA Sheet by LOVE BABBARreverse string