Greedy Problems

Master greedy problems with AI-powered solutions. Get instant coding assistance during your technical interviews for all 268 problems in this category.

Total Problems: 268
Easy: 36
Medium: 178
Hard: 54
Showing 50 of 268 problems

Problems

Scroll within this area to browse all problems

#
Title
Difficulty
134

Gas Station

Medium
55

Jump Game

Medium
409

Longest Palindrome

Easy
11

Container With Most Water

Medium
179

Largest Number

Medium
630

Course Schedule III

Hard
122

Best Time to Buy and Sell Stock II

Medium
621

Task Scheduler

Medium
45

Jump Game II

Medium
680

Valid Palindrome II

Easy
1285

Balance a Binary Search Tree

Medium
420

Strong Password Checker

Hard
605

Can Place Flowers

Easy
435

Non-overlapping Intervals

Medium
44

Wildcard Matching

Hard
316

Remove Duplicate Letters

Medium
659

Split Array into Consecutive Subsequences

Medium
678

Valid Parenthesis String

Medium
410

Split Array Largest Sum

Hard
1966

Frequency of the Most Frequent Element

Medium
797

Rabbits in Forest

Medium
2600

Maximum Tastiness of Candy Basket

Medium
714

Best Time to Buy and Sell Stock with Transaction Fee

Medium
2362

Minimum Rounds to Complete All Tasks

Medium
1009

Pancake Sorting

Medium
770

Couples Holding Hands

Hard
768

Partition Labels

Medium
1346

Maximize the Topmost Element After K Moves

Medium
1478

Maximum Number of Events That Can Be Attended

Medium
324

Wiggle Sort II

Medium
581

Shortest Unsorted Continuous Subarray

Medium
3231

Minimum Number of Coins to be Added

Medium
321

Create Maximum Number

Hard
2032

Largest Odd Number in String

Easy
1448

Maximum 69 Number

Easy
2591

Frog Jump II

Medium
1033

Broken Calculator

Medium
2248

Minimum Cost of Buying Candies With Discount

Easy
2352

Design an ATM Machine

Medium
624

Maximum Distance in Arrays

Medium
1304

Longest Happy String

Medium
135

Candy

Hard
2488

Divide Intervals Into Minimum Number of Groups

Medium
3743

Reschedule Meetings for Maximum Free Time I

Medium
2690

House Robber IV

Medium
957

Minimum Add to Make Parentheses Valid

Medium
452

Minimum Number of Arrows to Burst Balloons

Medium
2725

Mice and Cheese

Medium
3275

Minimum Number of Pushes to Type Word I

Easy
2475

Largest Palindromic Number

Medium
Loading more problems...

Greedy LeetCode Problems List

Related LeetCode Topics

Greedy LeetCode Problems - Interview Coder