HOMELv025 [[1, 2], [3]].flatten の結果はどれか。 2026年1月24日 flattenは入れ子配列を平坦化する [1, nil, 3].compact の結果はどれか。 [1, 2, 3] & [2, 3, 4] (積集合)の結果はどれか。