update 10 leetcode problems.