leetcode:array problems