Skip to content

Latest commit

 

History

History
12 lines (7 loc) · 1.63 KB

File metadata and controls

12 lines (7 loc) · 1.63 KB

Flatten medium #array

by zhouyiming @chbro

Take the Challenge    简体中文 日本語 한국어

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]

Back Share your Solutions Check out Solutions