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.
Reverse the Words (not letters) of a String
298 Solvers
4572 Solvers
251 Solvers
498 Solvers
676 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!