LeetCode - Last Stone Weight 2 (1049)
Disclaimer:
My purpose is to explain solution to a complex programming problem and not to claim ownership of a solution/algorithm. I have utilized multiple resources to learn algorithms and programming concepts that are used to write solution to these problems.
Happy Learning ...
Cheers!