LeetCode:877. Stone Game - Python

NoSuchKey