Search posts, tags, users, and pages
Given an array of stone weights, repeatedly smash the two heaviest stones together until at most one stone remains, returning the weight of the last stone or 0 if no stones remain.
tracelit
@tracelit
Markdown supported · ⌘↵ to post
No responses yet.