結果 : flatten nested list python leetcode