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
Greedy
2k+ articles
Sorting
1.7k+ articles
Matrix
1.2k+ articles
Arrays
260+ articles
Algorithms-Greedy Algorithms
33 articles
Greedy Algorithms
100+ posts
Popular Articles
Recent Articles
Maximum number that can be obtain by swapping adjacent digits of same parity
Last Updated: 20 March 2024
Given an integer N, the task is to find the maximum integer that can be obtained from the given integer such that the adjacent digits of the
...read more
sliding-window
Arrays
Greedy Algorithms
Geeks Premier League
DSA
Sliding Window 23
Geeks Premier League 2023
Find minimum number of Substrings with unique characters
Last Updated: 19 April 2023
Given string 's', the task is to divide a given string s into multiple substrings, with each substring containing only unique characters. Th
...read more
Strings
Greedy
Greedy Algorithms
substring
DSA
Set
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
Similar Topics
DSA
22.3k+ articles
Mathematical
7.7k+ articles
Arrays
6.4k+ articles
Strings
3.2k+ articles
Competitive Programming
2.3k+ articles
Greedy
2k+ articles
Sorting
1.7k+ articles
Matrix
1.2k+ articles
Arrays
260+ articles
Algorithms-Greedy Algorithms
33+ articles
Organizing Tournament Problem
Last Updated: 12 August 2021
Given a positive integer N representing the count of players playing the game. The game is played between two teams such that each team cons
...read more
Codenation
Algorithms
Mathematical
Python
interview-preparation
Greedy Algorithms
DSA
Activity selection problem with K persons
Last Updated: 06 September 2023
Given two arrays S[] and E[] of size N denoting starting and closing time of the shops and an integer value K denoting the number of people,
...read more
Arrays
Greedy
Sorting
Technical Scripter
interview-preparation
Greedy Algorithms
Technical Scripter 2020
DSA
Check if Array forms an increasing-decreasing sequence or vice versa
Last Updated: 30 October 2023
Given an array arr[] of N integers, the task is to find if the array can be divided into 2 sub-array such that the first sub-array is strict
...read more
Arrays
Greedy
Data Structures
Algorithms-Greedy Algorithms
Greedy Algorithms
C++ Programs
DSA
C++ Program for the Fractional Knapsack Problem
Last Updated: 19 July 2020
Pre-requisite: Fractional Knapsack ProblemGiven two arrays weight[] and profit[] the weights and profit of N items, we need to put these ite
...read more
Greedy
Competitive Programming
STL
knapsack
Greedy Algorithms
C++ Programs
Fraction
DSA
Find minimum changes required in an array for it to contain k distinct elements
Last Updated: 28 September 2022
Given an array arr of size N and a number K. The task is to find the minimum elements to be replaced in the array with any number such that
...read more
Arrays
Greedy
Sorting
Combinatorial
Greedy Algorithms
frequency-counting
DSA
Find the number of boxes to be removed
Last Updated: 02 June 2022
Given an array arr[] representing a sequence of piles of boxes where each and every box has the same height of 1 unit. Given that you are on
...read more
Arrays
Algorithms
Greedy Algorithms
DSA
Minimum number of days required to complete the work
Last Updated: 24 February 2023
Given N works numbered from 1 to N. Given two arrays, D1[] and D2[] of N elements each. Also, each work number W(i) is assigned days, D1[i]
...read more
Greedy
cpp-vector
Greedy Algorithms
Constructive Algorithms
DSA
Minimum cost path from source node to destination node via an intermediate node
Last Updated: 22 March 2023
Given an undirected weighted graph. The task is to find the minimum cost of the path from source node to the destination node via an interme
...read more
Dijkstra
Graph
Competitive Programming
cpp-vector
Greedy Algorithms
cpp-multiset
DSA
Maximize the number of segments of length x, y and z
Last Updated: 05 December 2024
Given a rod of length n, the task is to cut the rod in such a way that the total number of segments of length x, y, and z is maximized. The
...read more
Competitive Programming
Arrays
Algorithms-Dynamic Programming
Greedy Algorithms
DSA
Algorithms | Greedy Algorithms | Question 6
Last Updated: 28 June 2021
Which of the following is true about Huffman Coding? (A)Huffman coding may become lossy in some cases(B)Huffman Codes
...read more
DSA Quiz
Algorithms-Greedy Algorithms
Greedy Algorithms
Algorithms | Greedy Algorithms | Question 5
Last Updated: 28 June 2021
Which of the following is true about Kruskal and Prim MST algorithms?Assume that Prim is implemented for adjacency list represen
...read more
DSA Quiz
Algorithms-Greedy Algorithms
Greedy Algorithms
Algorithms | Greedy Algorithms | Question 3
Last Updated: 28 June 2021
A networking company uses a compression technique to encode the message before transmitting over the network. Suppose the message contains t
...read more
DSA Quiz
Algorithms-Greedy Algorithms
Greedy Algorithms
1
2
3
4
5
6
7
8
>>
Last
1
2
3
4
5
6
>>
Last
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 !