Fun with Learning
Technology
Learn
Courses
Questions
Tracks
Tools
News
Explore
Practice
🌙
A
Topic hub
Greedy
10 free greedy lessons — newest first.
Greedy lessons
4:40
Free
Minimum Number of Pushes to Type Word I — 🔴 Advanced (3/3) — LeetCode Daily Python Solution (10 letters, one formula)
Greedy
7:52
Free
Minimum Number of Pushes to Type Word I — 🟢 Beginner (1/3) — LeetCode Daily Python Solution ('abcdefghi' = 10 pushes?)
Greedy
4:24
Free
Minimum Number of Pushes to Type Word I — 🟡 Intermediate (2/3) — LeetCode Daily Python Solution ('abcdefghi' = 10 pushes)
Greedy
Medium
4:06
Free
Smallest Palindromic Rearrangement II — 🟡 Intermediate (2/3) — LeetCode Daily Python Solution (stop building the whole string)
Greedy
6:22
Free
Smallest Palindromic Rearrangement II — 🟢 Beginner (1/3) — LeetCode Daily Python Solution (why you only solve half)
Greedy
4:48
Free
Smallest Palindromic Rearrangement II — 🔴 Advanced (3/3) — LeetCode Daily Python Solution (the trick nobody sees)
Greedy
Hard
6:22
Free
Smallest Palindromic Rearrangement I — 🟢 Beginner (1/3) — LeetCode Daily Python Solution (the trick nobody sees)
Greedy
Easy
4:32
Free
Smallest Palindromic Rearrangement I — 🔴 Advanced (3/3) — LeetCode Daily Python Solution (why not just try every order?)
Greedy
4:55
Free
Maximum Product of Three Numbers — 🔴 Advanced (3/3) — LeetCode Daily Python Solution (the two-negative trap)
Greedy
19:07
Free
Maximize Active Section with Trade I — LeetCode Daily Python Solution (Zero Bridge trick)
Greedy