add some arrays questions from leetcode

Signed-off-by: Wei Jin <wjin.cn@gmail.com>