update 18 leetcode problems