Flatten List(LintCode 22):

Problem