About 94,700 results
Open links in new tab
  1. Greedy Algorithms - GeeksforGeeks

    Jul 25, 2025 · Greedy algorithms are a class of algorithms that make locally optimal choices at each step with the hope of finding a global optimum solution. At every step of the algorithm, …

  2. Greedy Algorithms General Structure - GeeksforGeeks

    Jul 12, 2025 · A greedy algorithm solves problems by making the best choice at each step. Instead of looking at all possible solutions, it focuses on the option that seems best right now.

  3. Greedy Algorithm Tutorial - GeeksforGeeks

    Jul 23, 2025 · Greedy algorithms are used for optimization problems. An optimization problem can be solved using Greedy if the problem has the following property: At every step, we can make …

  4. Short Notes on Greedy Algorithm - GeeksforGeeks

    Sep 8, 2025 · The greedy algorithm is a problem-solving strategy where we build the solution step by step. At each step, we choose the best possible option available at that moment (locally …

  5. Applications, Advantages and Disadvantages of Greedy Algorithms

    Dec 12, 2024 · Greedy is an algorithmic paradigm that builds up a solution piece by piece, always choosing the next piece that offers the most obvious and immediate benefit. Greedy …

  6. What is a Greedy Algorithm? Examples of Greedy Algorithms

    May 12, 2023 · Greedy algorithms are a straightforward approach to solving optimization problems, returning a minimum or maximum value. This article explained some examples of …

  7. Greedy Algorithm Notes for GATE Exam [2024] - GeeksforGeeks

    Jul 23, 2025 · Aspirants preparing for the GATE Exam 2024 are poised to encounter a range of questions that test their understanding of Greedy Algorithms. These notes aim to provide a …

  8. Greedy algorithm - Wikipedia

    Kruskal's algorithm and Prim's algorithm are greedy algorithms for constructing minimum spanning trees of a given connected graph. They always find an optimal solution, which may …

  9. Greedy Algorithms: Concept, Examples, and Applications

    First, let’s understand what a greedy algorithm is. A greedy algorithm is an optimization technique that solves problems step by step, always selecting the best possible choice at each moment.

  10. DSA Greedy Algorithms - W3Schools

    Most of the problems in this tutorial, like sorting an array, or finding the shortest paths in a graph, have these properties, and those problems can therefore be solved by greedy algorithms like …