Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/zhangyu1818/type-challenges-answer

type-chanllenges answer
https://github.com/zhangyu1818/type-challenges-answer

type-challenges

Last synced: about 1 month ago
JSON representation

type-chanllenges answer

Awesome Lists containing this project

README

        

# type-challenges-answer

Answers of [type-challenges](https://github.com/type-challenges/type-challenges), I have added comments to some questions that I think are quite challenging.

## Easy

[00004-easy-pick](https://github.com/zhangyu1818/type-challenges-answer/blob/main/src/00004-easy-pick.ts)

[00007-easy-readonly](https://github.com/zhangyu1818/type-challenges-answer/blob/main/src/00007-easy-readonly.ts)

[00011-easy-tuple-to-object](https://github.com/zhangyu1818/type-challenges-answer/blob/main/src/00011-easy-tuple-to-object.ts)

[00014-easy-first](https://github.com/zhangyu1818/type-challenges-answer/blob/main/src/00014-easy-first.ts)

[00018-easy-tuple-length](https://github.com/zhangyu1818/type-challenges-answer/blob/main/src/00018-easy-tuple-length.ts)

[00043-easy-exclude](https://github.com/zhangyu1818/type-challenges-answer/blob/main/src/00043-easy-exclude.ts)

[00189-easy-awaited](https://github.com/zhangyu1818/type-challenges-answer/blob/main/src/00189-easy-awaited.ts)

[00268-easy-if](https://github.com/zhangyu1818/type-challenges-answer/blob/main/src/00268-easy-if.ts)

[00533-easy-concat](https://github.com/zhangyu1818/type-challenges-answer/blob/main/src/00533-easy-concat.ts)

[00898-easy-includes](https://github.com/zhangyu1818/type-challenges-answer/blob/main/src/00898-easy-includes.ts)

[03057-easy-push](https://github.com/zhangyu1818/type-challenges-answer/blob/main/src/03057-easy-push.ts)

[03060-easy-unshift](https://github.com/zhangyu1818/type-challenges-answer/blob/main/src/03060-easy-unshift.ts)

[03312-easy-parameters](https://github.com/zhangyu1818/type-challenges-answer/blob/main/src/03312-easy-parameters.ts)

## Medium

[00002-medium-return-type](https://github.com/zhangyu1818/type-challenges-answer/blob/main/src/00002-medium-return-type.ts)

[00003-medium-omit](https://github.com/zhangyu1818/type-challenges-answer/blob/main/src/00003-medium-omit.ts)

[00008-medium-readonly-2](https://github.com/zhangyu1818/type-challenges-answer/blob/main/src/00008-medium-readonly-2.ts)

[00009-medium-deep-readonly](https://github.com/zhangyu1818/type-challenges-answer/blob/main/src/00009-medium-deep-readonly.ts)

[00010-medium-tuple-to-union](https://github.com/zhangyu1818/type-challenges-answer/blob/main/src/00010-medium-tuple-to-union.ts)

[00012-medium-chainable-options](https://github.com/zhangyu1818/type-challenges-answer/blob/main/src/00012-medium-chainable-options.ts)

[00015-medium-last](https://github.com/zhangyu1818/type-challenges-answer/blob/main/src/00015-medium-last.ts)

[00016-medium-pop](https://github.com/zhangyu1818/type-challenges-answer/blob/main/src/00016-medium-pop.ts)

[00020-medium-promise-all](https://github.com/zhangyu1818/type-challenges-answer/blob/main/src/00020-medium-promise-all.ts)

[00062-medium-type-lookup](https://github.com/zhangyu1818/type-challenges-answer/blob/main/src/00062-medium-type-lookup.ts)

[00106-medium-trimleft](https://github.com/zhangyu1818/type-challenges-answer/blob/main/src/00106-medium-trimleft.ts)

[00108-medium-trim](https://github.com/zhangyu1818/type-challenges-answer/blob/main/src/00108-medium-trim.ts)

[00110-medium-capitalize](https://github.com/zhangyu1818/type-challenges-answer/blob/main/src/00110-medium-capitalize.ts)

[00116-medium-replace](https://github.com/zhangyu1818/type-challenges-answer/blob/main/src/00116-medium-replace.ts)

[00119-medium-replaceall](https://github.com/zhangyu1818/type-challenges-answer/blob/main/src/00119-medium-replaceall.ts)

[00191-medium-append-argument](https://github.com/zhangyu1818/type-challenges-answer/blob/main/src/00191-medium-append-argument.ts)

[00296-medium-permutation](https://github.com/zhangyu1818/type-challenges-answer/blob/main/src/00296-medium-permutation.ts)

[00298-medium-length-of-string](https://github.com/zhangyu1818/type-challenges-answer/blob/main/src/00298-medium-length-of-string.ts)

[00459-medium-flatten](https://github.com/zhangyu1818/type-challenges-answer/blob/main/src/00459-medium-flatten.ts)

[00527-medium-append-to-object](https://github.com/zhangyu1818/type-challenges-answer/blob/main/src/00527-medium-append-to-object.ts)

[00529-medium-absolute](https://github.com/zhangyu1818/type-challenges-answer/blob/main/src/00529-medium-absolute.ts)

[00531-medium-string-to-union](https://github.com/zhangyu1818/type-challenges-answer/blob/main/src/00531-medium-string-to-union.ts)

[00599-medium-merge](https://github.com/zhangyu1818/type-challenges-answer/blob/main/src/00599-medium-merge.ts)

[00612-medium-kebabcase](https://github.com/zhangyu1818/type-challenges-answer/blob/main/src/00612-medium-kebabcase.ts)

[00645-medium-diff](https://github.com/zhangyu1818/type-challenges-answer/blob/main/src/00645-medium-diff.ts)

[00949-medium-anyof](https://github.com/zhangyu1818/type-challenges-answer/blob/main/src/00949-medium-anyof.ts)

[01042-medium-isnever](https://github.com/zhangyu1818/type-challenges-answer/blob/main/src/01042-medium-isnever.ts)

[01097-medium-isunion](https://github.com/zhangyu1818/type-challenges-answer/blob/main/src/01097-medium-isunion.ts)

[01130-medium-replacekeys](https://github.com/zhangyu1818/type-challenges-answer/blob/main/src/01130-medium-replacekeys.ts)

[01367-medium-remove-index-signature](https://github.com/zhangyu1818/type-challenges-answer/blob/main/src/01367-medium-remove-index-signature.ts)

[01978-medium-percentage-parser](https://github.com/zhangyu1818/type-challenges-answer/blob/main/src/01978-medium-percentage-parser.ts)

[02070-medium-drop-char](https://github.com/zhangyu1818/type-challenges-answer/blob/main/src/02070-medium-drop-char.ts)

[02257-medium-minusone](https://github.com/zhangyu1818/type-challenges-answer/blob/main/src/02257-medium-minusone.ts)

[02595-medium-pickbytype](https://github.com/zhangyu1818/type-challenges-answer/blob/main/src/02595-medium-pickbytype.ts)

[02688-medium-startswith](https://github.com/zhangyu1818/type-challenges-answer/blob/main/src/02688-medium-startswith.ts)

[02693-medium-endswith](https://github.com/zhangyu1818/type-challenges-answer/blob/main/src/02693-medium-endswith.ts)

[02757-medium-partialbykeys](https://github.com/zhangyu1818/type-challenges-answer/blob/main/src/02757-medium-partialbykeys.ts)

[02759-medium-requiredbykeys](https://github.com/zhangyu1818/type-challenges-answer/blob/main/src/02759-medium-requiredbykeys.ts)

[02793-medium-mutable](https://github.com/zhangyu1818/type-challenges-answer/blob/main/src/02793-medium-mutable.ts)

[02852-medium-omitbytype](https://github.com/zhangyu1818/type-challenges-answer/blob/main/src/02852-medium-omitbytype.ts)

[02946-medium-objectentries](https://github.com/zhangyu1818/type-challenges-answer/blob/main/src/02946-medium-objectentries.ts)

[03062-medium-shift](https://github.com/zhangyu1818/type-challenges-answer/blob/main/src/03062-medium-shift.ts)

[03188-medium-tuple-to-nested-object](https://github.com/zhangyu1818/type-challenges-answer/blob/main/src/03188-medium-tuple-to-nested-object.ts)

[03192-medium-reverse](https://github.com/zhangyu1818/type-challenges-answer/blob/main/src/03192-medium-reverse.ts)

[03196-medium-flip-arguments](https://github.com/zhangyu1818/type-challenges-answer/blob/main/src/03196-medium-flip-arguments.ts)

[03243-medium-flattendepth](https://github.com/zhangyu1818/type-challenges-answer/blob/main/src/03243-medium-flattendepth.ts)

[03326-medium-bem-style-string](https://github.com/zhangyu1818/type-challenges-answer/blob/main/src/03326-medium-bem-style-string.ts)

[03376-medium-inordertraversal](https://github.com/zhangyu1818/type-challenges-answer/blob/main/src/03376-medium-inordertraversal.ts)

[04179-medium-flip](https://github.com/zhangyu1818/type-challenges-answer/blob/main/src/04179-medium-flip.ts)

[04182-medium-fibonacci-sequence](https://github.com/zhangyu1818/type-challenges-answer/blob/main/src/04182-medium-fibonacci-sequence.ts)

[04260-medium-nomiwase](https://github.com/zhangyu1818/type-challenges-answer/blob/main/src/04260-medium-nomiwase.ts)

[04425-medium-greater-than](https://github.com/zhangyu1818/type-challenges-answer/blob/main/src/04425-medium-greater-than.ts)

[04471-medium-zip](https://github.com/zhangyu1818/type-challenges-answer/blob/main/src/04471-medium-zip.ts)

[04484-medium-istuple](https://github.com/zhangyu1818/type-challenges-answer/blob/main/src/04484-medium-istuple.ts)

[04499-medium-chunk](https://github.com/zhangyu1818/type-challenges-answer/blob/main/src/04499-medium-chunk.ts)

[04518-medium-fill](https://github.com/zhangyu1818/type-challenges-answer/blob/main/src/04518-medium-fill.ts)

[04803-medium-trim-right](https://github.com/zhangyu1818/type-challenges-answer/blob/main/src/04803-medium-trim-right.ts)

[05117-medium-without](https://github.com/zhangyu1818/type-challenges-answer/blob/main/src/05117-medium-without.ts)

[05140-medium-trunc](https://github.com/zhangyu1818/type-challenges-answer/blob/main/src/05140-medium-trunc.ts)

[05153-medium-indexof](https://github.com/zhangyu1818/type-challenges-answer/blob/main/src/05153-medium-indexof.ts)

[05310-medium-join](https://github.com/zhangyu1818/type-challenges-answer/blob/main/src/05310-medium-join.ts)

[05317-medium-lastindexof](https://github.com/zhangyu1818/type-challenges-answer/blob/main/src/05317-medium-lastindexof.ts)

[05360-medium-unique](https://github.com/zhangyu1818/type-challenges-answer/blob/main/src/05360-medium-unique.ts)

[05821-medium-maptypes](https://github.com/zhangyu1818/type-challenges-answer/blob/main/src/05821-medium-maptypes.ts)

[07544-medium-construct-tuple](https://github.com/zhangyu1818/type-challenges-answer/blob/main/src/07544-medium-construct-tuple.ts)

[08640-medium-number-range](https://github.com/zhangyu1818/type-challenges-answer/blob/main/src/08640-medium-number-range.ts)

[08767-medium-combination](https://github.com/zhangyu1818/type-challenges-answer/blob/main/src/08767-medium-combination.ts)

[08987-medium-subsequence](https://github.com/zhangyu1818/type-challenges-answer/blob/main/src/08987-medium-subsequence.ts)

[09142-medium-checkrepeatedchars](https://github.com/zhangyu1818/type-challenges-answer/blob/main/src/09142-medium-checkrepeatedchars.ts)

[09286-medium-firstuniquecharindex](https://github.com/zhangyu1818/type-challenges-answer/blob/main/src/09286-medium-firstuniquecharindex.ts)

[09616-medium-parse-url-params](https://github.com/zhangyu1818/type-challenges-answer/blob/main/src/09616-medium-parse-url-params.ts)

[09896-medium-get-middle-element](https://github.com/zhangyu1818/type-challenges-answer/blob/main/src/09896-medium-get-middle-element.ts)

[09898-medium-zhao-chu-mu-biao-shu-zu-zhong-zhi-chu-xian-guo-yi-ci-de-yuan-su](https://github.com/zhangyu1818/type-challenges-answer/blob/main/src/09898-medium-zhao-chu-mu-biao-shu-zu-zhong-zhi-chu-xian-guo-yi-ci-de-yuan-su.ts)

## Hard

## Extreme