[leetcode]Add 112's code