Skip to content
Courses
DSA to Development
Get IBM Certification
Newly Launched!
Master Django Framework
Become AWS Certified
For Working Professionals
Interview 101: DSA & System Design
Data Science Training Program
JAVA Backend Development (Live)
DevOps Engineering (LIVE)
Data Structures & Algorithms in Python
For Students
Placement Preparation Course
Data Science (Live)
Data Structure & Algorithm-Self Paced (C++/JAVA)
Master Competitive Programming (Live)
Full Stack Development with React & Node JS (Live)
Full Stack Development
Data Science Program
All Courses
Tutorials
Data Structures & Algorithms
ML & Data Science
Interview Corner
Programming Languages
Web Development
CS Subjects
DevOps And Linux
School Learning
Practice
Build your AI Agent
GfG 160
Problem of the Day
Practice Coding Problems
GfG SDE Sheet
Contests
Accenture Hackathon (Ending Soon!)
GfG Weekly [Rated Contest]
Job-A-Thon Hiring Challenge
All Contests and Events
DSA
Practice Problems
Python
C
C++
Java
Courses
Machine Learning
DevOps
Web Development
System Design
Aptitude
Projects
Sign In
▲
Similar Topics
DSA
22.3k+ articles
Mathematical
7.7k+ articles
Arrays
6.4k+ articles
Strings
3.2k+ articles
Competitive Programming
2.3k+ articles
Algorithms
1.9k+ articles
Sorting
1.7k+ articles
Searching
1.7k+ articles
frequency-counting
730+ articles
array-rearrange
460+ articles
DSA
>
Algorithms
>
Greedy
Greedy
2k+ posts
Popular Articles
Recent Articles
Greedy Algorithm Tutorial
Last Updated: 13 December 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
...read more
GBlog
Greedy
Algorithms-Greedy Algorithms
Greedy Algorithms
DSA
Tutorials
DSA Tutorials
GBlog 2024
Difference between Prim's and Kruskal's algorithm for MST
Last Updated: 17 July 2024
Minimum Spanning Tree (MST) is a fundamental concept in graph theory and has various applications in network design, clustering, and optimiz
...read more
Greedy
MST
Difference Between
DSA
Print Maximum Meetings in One Room
Last Updated: 10 September 2024
Given n meetings in the form of start[] and end[], where start[i] is the start time of ith meeting and end[i] is the end time of ith meeting
...read more
Algorithms
Greedy
Sorting
C++ Programs
DSA
Similar Topics
DSA
22.3k+ articles
Mathematical
7.7k+ articles
Arrays
6.4k+ articles
Strings
3.2k+ articles
Competitive Programming
2.3k+ articles
Algorithms
1.9k+ articles
Sorting
1.7k+ articles
Searching
1.7k+ articles
frequency-counting
730+ articles
array-rearrange
460+ articles
Greedy Approach vs Dynamic programming
Last Updated: 23 April 2024
Greedy approach and Dynamic programming are two different algorithmic approaches that can be used to solve optimization problems. Here are t
...read more
Dynamic Programming
Greedy
knapsack
Difference Between
DSA
Minimum cost to connect all cities
Last Updated: 28 February 2025
There are n cities and there are roads in between some of the cities. Somehow all the roads are damaged simultaneously. We have to repair th
...read more
Graph
Greedy
MST
DSA
Optimal Page Replacement Algorithm
Last Updated: 14 January 2025
In operating systems, whenever a new page is referred and not present in memory, page fault occurs, and Operating System replaces one of the
...read more
Greedy
Operating Systems
DSA
Program for Least Recently Used (LRU) Page Replacement algorithm
Last Updated: 15 September 2023
Prerequisite: Page Replacement AlgorithmsIn operating systems that use paging for memory management, page replacement algorithm are needed t
...read more
Greedy
Operating Systems
GATE CS
DSA
Rearrange characters in a String such that no two adjacent characters are same
Last Updated: 17 February 2025
Given a string s with lowercase repeated characters, the task is to rearrange characters in a string so that no two adjacent characters are
...read more
Strings
Amazon
Greedy
Heap
STL
DSA
Program for First Fit algorithm in Memory Management
Last Updated: 12 March 2025
Prerequisite : Partition Allocation MethodsIn the first fit, the partition is allocated which is first sufficient from the top of Main Memor
...read more
Greedy
memory-management
DSA
Max Flow Problem Introduction
Last Updated: 23 April 2024
The max flow problem is a classic optimization problem in graph theory that involves finding the maximum amount of flow that can be sent thr
...read more
Graph
Greedy
Max-Flow
DSA
Minimize the maximum difference between the heights
Last Updated: 17 December 2024
Given the heights of n towers and a positive integer k, increase or decrease the height of all towers by k (only once). After modifications,
...read more
Arrays
Adobe
Greedy
DSA
Greedy Algorithm to find Minimum number of Coins
Last Updated: 06 March 2025
Given an amount of n Rupees and an infinite supply of each of the denominations {1, 2, 5, 10} valued coins/notes, The task is to find the mi
...read more
Greedy
dp-coin-change
DSA
Delete First Occurrence of Given Element from an Array
Last Updated: 09 November 2024
Given an array of integers, the task is to delete a given element from the array. If there are multiple occurrences of the element, we need
...read more
Arrays
Greedy
DSA
Connect n ropes with minimum cost
Last Updated: 28 March 2025
Given an array arr[]of rope lengths, connect all ropes into a single rope with the minimum total cost. The cost to connect two ropes is the
...read more
Amazon
Goldman Sachs
Queue
Greedy
Heap
OYO
DSA
Graph Coloring Using Greedy Algorithm
Last Updated: 10 October 2023
We introduced graph coloring and applications in previous post. As discussed in the previous post, graph coloring is widely used. Unfortunat
...read more
Graph
Greedy
Graph Coloring
DSA
First
1
2
3
4
5
6
7
8
>>
Last
First
1
2
3
4
5
6
>>
Last
First
1
2
3
4
>>
Last
We use cookies to ensure you have the best browsing experience on our website. By using our site, you acknowledge that you have read and understood our
Cookie Policy
&
Privacy Policy
Got It !