update leetcode problems about array