15 views
22 Dec 2025
Given start and finish times of activities select the maximum number of activities that can be performed by a single person using a greedy strategy....
17 views
22 Dec 2025
Given weights and values of items determine the maximum value that can be obtained by taking fractions of items using greedy approach....
14 views
22 Dec 2025
Given coin denominations find the minimum number of coins required to make a given amount using greedy method....
15 views
22 Dec 2025
Given jobs with deadlines and profits schedule jobs to maximize total profit using greedy strategy....
15 views
22 Dec 2025
Construct a Huffman tree to generate optimal prefix codes for characters based on their frequencies....
20 views
22 Dec 2025
Given arrival and departure times of trains find the minimum number of platforms required so that no train waits....
14 views
22 Dec 2025
Given gas stations in a circular route determine if you can complete the circuit starting from a station using greedy logic....
15 views
22 Dec 2025
Distribute candies to children based on ratings such that conditions are satisfied using greedy approach....
16 views
22 Dec 2025
Select the maximum number of non-overlapping intervals using greedy technique....
16 views
22 Dec 2025
Given ropes of different lengths connect them with minimum cost using greedy strategy....
15 views
22 Dec 2025
Assign cookies to children to maximize contentment using greedy method....
14 views
22 Dec 2025
Find pairs with minimum absolute difference using sorting and greedy approach....
14 views
22 Dec 2025
Determine minimum number of boats required to rescue people based on weight limit using greedy approach....
15 views
22 Dec 2025
Rearrange characters in a string so that no two adjacent characters are the same using greedy strategy....
15 views
22 Dec 2025
Check if a string with wildcard characters can be valid parentheses using greedy technique....
16 views
22 Dec 2025
Find the maximum length chain of pairs using greedy approach similar to activity selection....
17 views
22 Dec 2025
Find the minimum number of arrows to burst balloons represented as intervals using greedy approach....
15 views
22 Dec 2025
Partition a string into as many parts as possible so that each letter appears in at most one part using greedy logic....
14 views
22 Dec 2025
Maximize profit by making multiple stock buy and sell transactions using greedy approach....
13 views
22 Dec 2025
Arrange numbers to form the largest possible number using greedy comparison....