← All problems
Medium · 2-D Dynamic Programming

Last Stone Weight II

Find the smallest final weight achievable by smashing pairs of stones.

Full problem and submission ↗
main.js

Console

Ready