TLDR Web Dev · OPINIONS & ADVICE

MANY HARD LEETCODE PROBLEMS ARE EASY CONSTRAINT PROBLEMS

buttondown.com6 min read

Summary from the TLDR Web Dev newsletter

Many challenging Leetcode problems can be easily solved using constraint solvers, a more effective approach than writing custom algorithms. This article contains several examples that show how problems like the coin change, stock trading, and histogram area can be elegantly expressed and solved using MiniZinc.