leetcode practice - python3 (13)

NoSuchKey