Greedy (59)

These problems are related to greedy algorithms.

Find minimum time to finish all jobs II - January 24, 2023

Queue reconstruction by height - January 23, 2023

Minimum moves to reach target score - January 16, 2023

Maximum binary string after change - January 11, 2023

Minimum health to beat game - January 8, 2023

Assign cookies - January 7, 2023

Minimum operations to make the array alternating - January 6, 2023

Max increase to keep city skyline - January 6, 2023

Most profit assigning work - January 6, 2023

Maximum ice cream bars - January 6, 2023

Minimum penalty for a shop - December 28, 2022

Minimum increment to make array unique - December 28, 2022

Maximum bags with full capacity of rocks - December 27, 2022

Shortest unsorted continuous subarray - December 26, 2022

Valid triangle number - December 24, 2022

Largest values from labels - December 22, 2022

Largest merge of two strings - December 21, 2022

Minimum initial energy to finish tasks - December 20, 2022

Minimum rounds to complete all tasks - December 17, 2022

Append k integers with minimal sum - December 14, 2022

Longest square streak in an array - December 12, 2022

Partition array such that maximum difference is k - December 10, 2022

Maximum number of non overlapping subarrays with sum equals target - December 8, 2022

Previous permutation with one swap - December 2, 2022

Partitioning into minimum number of deci binary numbers - November 30, 2022

Maximum split of positive even integers - November 30, 2022

Minimize product sum of two arrays - November 28, 2022

Minimize maximum pair sum in array - November 26, 2022

Maximum number of coins you can get - November 26, 2022

Minimum number of arrows to burst balloons - November 24, 2022

Broken calculator - November 23, 2022

Integer to english words - November 23, 2022

Maximum length of pair chain - November 20, 2022

Minimum time visiting all points - November 16, 2022

Maximum area of a piece of cake after horizontal and vertical cuts - November 15, 2022

Minimum money required before transactions - November 8, 2022

Partition array into three parts with equal sum - November 4, 2022

Maximum score from removing stones - November 4, 2022

Earliest possible day of full bloom - October 29, 2022

Can place flowers - October 23, 2022

Minimum number of operations to convert time - October 22, 2022

Maximum points you can obtain from cards - October 20, 2022

Reduction operations to make the array elements equal - October 18, 2022

Increasing triplet subsequence - October 11, 2022

Minimum time to make rope colorful - October 3, 2022

Dota2 senate - September 30, 2022

Destroying asteroids - September 30, 2022

Design an atm machine - September 16, 2022

Minimum insertions to balance a parentheses string - September 16, 2022

Minimum number of flips to make the binary string alternating - August 26, 2022

Stamping the sequence - August 21, 2022

Partition labels - August 10, 2022

Valid parenthesis string - August 9, 2022

Merge triplets to form target triplet - August 9, 2022

Hand of straights - August 9, 2022

Gas station - August 8, 2022

Jump game II - July 22, 2022

Jump game - July 22, 2022

Maximum subarray - July 21, 2022