update several leetcode problems
fix an error