Skip to content

Latest commit

 

History

History
12 lines (7 loc) · 1.58 KB

README.zh-CN.md

File metadata and controls

12 lines (7 loc) · 1.58 KB

Flatten 中等 #array

by zhouyiming @chbro

接受挑战    English 日本語

In this challenge, you would need to write a type that takes an array and emitted the flatten array type.

For example:

type flatten = Flatten<[1, 2, [3, 4], [[[5]]]]> // [1, 2, 3, 4, 5]

返回首页 分享你的解答 查看解答