Leetcode 669. Input: root = [1,0,2], low = 1, high = 2.
This code got error:
\'Nonetype\' object has no attribute \'val\'
i