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.
Extract leading non-zero digit
1213 Solvers
203 Solvers
Change the sign of even index entries of the reversed vector
302 Solvers
498 Solvers
417 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!