SSk Shoyeb·Sep 18Maximum Number of Non-Overlapping Substrings | Java Solution | GreedyGiven a string s of lowercase letters, you need to find the maximum number of non-empty substrings of s that meet the following conditions: The substrings do not overlap, that is for any two substrin3 min read·skshoyebjavascript.hashnode.dev
CChetan Datta·Jun 7Fractional KnapsackProblem Given two arrays, val[] and wt[] , representing the values and weights of items, and an integer capacity representing the maximum weight a knapsack can hold, determine the maximum total value2 min read·chetan77.hashnode.dev
NNireus79·May 29The Quality Controller Agent: Why Greedy Algorithms Corrupt Systems.And How to Fix Them...18 min read·nireus79.hashnode.dev1
CChetan Datta·Nov 18, 2025Assign CookiesProblem Assume you are an awesome parent and want to give your children some cookies. But, you should give each child at most one cookie. Each child i has a greed factor g[i], which is the minimum size of a cookie that the child will be content with;...2 min read·chetan77.hashnode.dev
PPranav Zambare·Jul 15, 2025Comprehensive Guide to Codechef Starter 194: Mastering 'Mark AllLearn strategies to solve Codechef Starter 194: 'Mark All' with insights, code attempts, and efficient solutions for minimizing total operation costs4 min read·bytesized-pranav.hashnode.dev
PPaul Ishaili·Jun 24, 2025Algorithm Design: The Ultimate Guide for DevelopersComprehensive guide to algorithms for IT students & engineers. Covers recursion, DP, greedy methods, and optimization techniques with code examples.13 min read·devpacademy.hashnode.dev
Kkasumbi phil·Jun 12, 2025Solving the Activity Selection Problem with Greedy Algorithms🚀 What I Learned Today Today, I explored one of the classic greedy algorithm problems — the Activity Selection Problem. This problem taught me how to use the greedy approach to solve scheduling tasks efficiently. 💡 Problem Statement You are given ...2 min read·kasumbidatastructures.hashnode.dev
AAdiam Ahmed·May 16, 2025Best Time to Buy and Sell StockSolving it using Brute Force to Greedy Genius8 min read·adiamvsleetcode.hashnode.dev
FFatima Jannet·Aug 27, 2024Learn Greedy AlgorithmIn the previous blog, I mentioned I would create a separate blog on the Greedy Algorithm, and here it is. This is the blog! Let's get started! What is Greedy Algorithm? Imagine a pile of both good bricks and broken pieces. Now, you are told to build ...7 min read·mahia.hashnode.dev