could someone explain the different between g and f in this problem? don't all the glasses get filled in the bottom level?
Chris, the problem states (in bold font) that "water only spills outward" and therefore not all glasses are necessarily filled.
657 Solvers
Calculate the Levenshtein distance between two strings
456 Solvers
380 Solvers
Split a string into chunks of specified length
475 Solvers
405 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!