archgaelix
Uses
Archive
greedy
Chocolate distribution
#array
#greedy
Container With Most Water
#array
#greedy
#twopointers
#medium
Rearrange characters in a string such that no two adjacent are same
#string
#heap
#greedy
Given a sequence of words, print all anagrams together
#string
#trie
#greedy
Activity selection
#greedy
Job sequencing
#greedy
Huffman coding
#greedy
Water connection
#greedy
Fractional knapsack
#greedy
Find minimum number of coins
#greedy
Maximum trains for which stoppage can be provided
#greedy
Minimum platforms
#greedy
Buy maximum stocks if I stocks can be bought on Ith day
#greedy
Find the minimum and maximum amount to buy all N candies
#greedy
Minimum cost to cut a board into squares
#greedy
Check if it is possible to survive on island
#greedy
Find maximum meetings in one room
#greedy
Maximum product subset of an array
#greedy
Maximize array sum after K negations
#greedy
Maximize the sum of arr[i]*i
#greedy
Maximum sum of absolute difference of an array
#greedy
Maximize sum of consecutive differences in a circular array
#greedy
Minimum sum of absolute difference of pairs of two arrays
#greedy
Shortest Job First (SJF) CPU scheduling
#greedy
Least Recently Used (LRU) page replacement algorithm
#greedy
Smallest subset with sum greater than all other elements
#greedy
Defense of a kingdom
#greedy
Die hard
#greedy
Wine trading in Gergovia
#greedy
Picking up chicks
#greedy
Chocolate
#greedy
Arranging amplifiers
#greedy
K centers
#greedy
Find smallest number with given number of digits and sum of digits
#greedy
Find maximum sum possible equal sum of three stacks
#greedy
Connect N ropes with minimum cost
#heap
#greedy
Minimise the cashflow in a set of friends
#graph
#greedy