摘要: Implement a type IsTuple, which takes an input type T and returns whether T is tuple type. For example: type case1 = IsTuple<[number]> // true type ca 阅读全文
posted @ 2022-10-23 20:45 Zhentiw 阅读(22) 评论(0) 推荐(0)
摘要: In This Challenge, You should implement a type Zip<T, U>, T and U must be Tuple type exp = Zip<[1, 2], [true, false]> // expected to be [[1, true], [2 阅读全文
posted @ 2022-10-23 20:38 Zhentiw 阅读(21) 评论(0) 推荐(0)
摘要: Implement type AllCombinations<S> that return all combinations of strings which use characters from S at most once. For example: type AllCombinations_ 阅读全文
posted @ 2022-10-23 02:34 Zhentiw 阅读(34) 评论(0) 推荐(0)
摘要: In This Challenge, You should implement a type GreaterThan<T, U> like T > U Negative numbers do not need to be considered. For example GreaterThan<2, 阅读全文
posted @ 2022-10-23 02:04 Zhentiw 阅读(16) 评论(0) 推荐(0)