/typescriptExercises

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

Primary LanguageTypeScript

typescriptExercises

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

easy

Problem 4: https://www.typescriptlang.org/play?target=7&ssl=19&ssc=2&pln=1&pc=1#code/PQKgUAkgtgDgNgUyggdgFwARoBYIwIwFcBLONAWmJQwAViBjAawB4AVAGgwGkA+DAc1QIATgwwB3YjgD2hTIQDOVfhikA6MAGFpKBWmGF6aBRgCGWAJ4w8+CxhgNGyrLgwKEmaQDN7w6deE0YgQTLgwvPygMVjAQYDA0KzwAWQs6JjZOAFUMBAAPNFQAExNGBAtvaL4AXgwAbwBtYlVqLIBdAC5opraMAF8MAG4wEapC4S9TejxWaSLperAMLClELr1RFH4ljCKQ+lEYIJ11-WUd+mlYREKirvxpaURTFDA+kcTraLnpGmEEABuwXEGFqqXSLFm804AHIgmhEDCMAAfDAwy7XDwIIowngjS66TBoH5dKG-f5AhAg2p1HbLeFrNGaZ7UPxXGHsOkYDHwLF3cKmODuTl9IA

Problem 7: https://www.typescriptlang.org/play?target=7&ssl=15&ssc=74&pln=1&pc=1#code/C4TwDgpgBAsiBKECGATA9gOwDYgDwBUA+KAXigG8AnZdbEKAbWCgEsMoBrCENAMynwBdAFwCmggL5QAULLbAIlXkgDG0fGnQVpUKMBbAsEUQGdglNgHMdUFBBMqLYfZlPmr0ibJWYzezWiicIiomDgEAcRk5Db6hsZQAEQAEtyJADQ2dg5OLhiiibxoaABGSJSJnrLAAQB0cUakSalYWGiJUAD0nVAAopSUaJSiKkgYGGjM1EgmJiyW7EhQ07Q4UGCDkJSg0jXotdmOLM4smE2JZZQAYsUd3X0DQyNjE1PIs-OLyzRh9BtoWx2QA

Problem 11: https://www.typescriptlang.org/play?target=7&ssl=7&ssc=20&pln=1&pc=1#code/C4TwDgpgBAKgrmANhGB7A8gIwFYQMbAA8MUEAHsBAHYAmAzlAE4QCGNqViIULVIA2gF0AfFAC8UAN79gUAJZVY-KnAC2mCI0GCAXFGABfAFAB6E-vDR4SFBhz4iJcpVoNmbDlx58hoidNkFKABrCBBUADNYXSVgQWMjPA46WWAEZHEofgBySjpEFmyAGihs1VQaCEQoAGZi0vLK6oANerKKqqgATWzBHgYkqhSjROTZZjo4RGA9a2Q0LFwCQlBISP10iD9JfQh8lj1cvYK2xs66w7PqupL2pqhWy46W0+fu7Kf7nuNBulRkAB0iFQAHMABQTKbAACUQA

Problem 14: https://www.typescriptlang.org/play?target=7#code/C4TwDgpgBAYglgJwM7ADwBUoQB7AgOwBMkoBBBBAQxFRQTnwHMAffAVwFsAjCBAPj5QAvFHQBtAAwBdAFChIUShQCMwqGIDklDQBooGrrv0BjDbPnQlCAExqxAZj3W9y2XPDQAFhEqFVI+GQ0K2VBAHowrGxIYzxCKGAAeygefW13BW9fWwDEFFQra3DInBi4hOTU+xkZY0T8FCgswgAuJp8-NS0NIA

Problem 18: https://www.typescriptlang.org/play?target=7#code/C4TwDgpgBAMhB2BzYALAPAFShAHsBAJgM5QCCATuQIYhpHDkCWSAPvAK4C2ARhOQHz8oAXigYA2gHIANgmQpJAXQBQy0JCj4i0qiKhStOyQBookzgHsCEaVADMJs5eu2AGo-NWbUAJpK14NBEYFQAxhCuelIAYqQwAMIA8gByUACcHrEJKVAAEgCipABqfqaSACIASqQA4ikeAMoYpJUNuQCSAAoeuQCqALKkqQ2dpPH50TDtNbkY-gEahlRwSKh6K-JoS0JQAPS72DiQofgEUAAsC0Eh4a4ba6L36MFhEUL7h8enUACsqqEWeD0TQQbTLOSoIpUaQALhBYKeenOQA

Problem 43: https://www.typescriptlang.org/play?target=7#code/C4TwDgpgBAsiCiAPAxgGwK4BMIB4AqANFAKoB8UAvFHlBIsBAHaYDOJUA-FIxAG4QAnKAC5qAbgBQE0JFooMmAJaMA5pVgJ5WXACIAhjqgAfKDoBGhkzuQ6i+neQD0jxgHtgUV2YBWE5K8YWDzpROjQsZTUqcx0gA

Problem 189:

Problem 268: https://www.typescriptlang.org/play?target=7#code/C4TwDgpgBAkgZgHgMIBooBU0DEB8UC8USUEAHsBAHYAmAzlMAE4Cu0A-BlAFxRYBQfUJCgBBArERNWaAOQBDGbIBGMvFAD06kqUgBjCtQYB7KEujyZg8NABC4+AjhyANrQiyFy1Rq1k9B41NzFQE+XSNKWmAGCCieMUILIA

Problem 533: https://www.typescriptlang.org/play?target=7#code/C4TwDgpgBAwg9gOwMYENgB4AqUIA9gQIAmAzlAIIBOlKI6CArgLYBGElAfADRQCqO+QqQrVa9Zm04coAXigBtAHTLMPZYt4BdAFChIUAEoQSDADbBZsRKgzyAjJp7yATJukB6dwMhICRKMBwUGwKdjyu2tpIiCQWBLEAXIbGZhZy9lyuQA

medium

Problem 2:

Problem 9: https://www.typescriptlang.org/play?target=7#code/C4TwDgpgBAIhFgEoQIYBMD2A7ANiAPACoB8UAvFAN4BOqmuIUA2sFAJZZQDWEIGAZlEIBdAFxCWwgL5QAULNCQoADXJU5UKAA9xlDZqgpxARlkGoAI3EByABZtrZqFKcgbt3o5cLw0AKJakADGwBBoanpOtOjYeNq6+prR9HFGUKbmybGMVlB2Dk4uSXTZUG55HiDWct5B2ADOrMAYmOJwCMgxDPjKpBSRmjrqTpppxgA0I5buBZpSk5rldp6yUgD0a1D1thgArjjhFtD1KAC20Cj1UAAGAcGhaNcKLRgAdFoRTmkAzAvT1hYQBAvPJmphXowKAAiFCwqHyIA

Problem 15:

Problem 62: https://www.typescriptlang.org/play?target=7#code/C4TwDgpgBAMg9nA1gVTAHmQGigFQHxQC8UyUEAHsBAHYAmAzlAN5SiQBcuUAvlAPwkonahABuEAE4BuAFAyAltSoSAZgEMAxtADCa4MxlRW4CJwDkGvWcNQARhIgQG5gIK2Q9eovlrqZqAA+UGYAygAWcBLAYWryEv5BZtoArhIANgnBAEI0AOZqGTLccorK6lpQACJwuQZGbKbBtDXWRvaOzsEAEnDJdJlmWRLywMC+IANZyWlpzbmTcOSSrVAacGmR5vZwAO5+gcE7YSMQA7ZpmojWxTINUACyINW5OCZEsAgo6Lr6Qc-YZjmZgIAHoQWRyJANFRaKw4HZoAADZ6ImRraj0fRUTGcR7PV6Qd5MGwNdiAlqYGztJz0cw9Pq0MyUoxrDYSLYSXZ+IpyIA

Problem 110: https://www.typescriptlang.org/play?target=7#code/FAFwngDgpgBAwgQwgSxAgNsgXlAPAZRigA8QoA7AEwGcZqQAnZcgcwD4YBeGAVQmgYBjBNTz4A2gAYAum2ChIsYSjSYclLvCSoM2PAHIAFlHToA9jADuZhukr6OAekdFi0QWQ0gLAI1j6ACRNzKxs7fWBBM3J6GDJ6AC4YZR01KA1uQOCLa1t7IA

Problem 191:

Problem 459:

hard

Problem 6:

Problem 57: https://www.typescriptlang.org/play?target=7#code/FAehAIBcE8AcFNwHF6QErwI4FcCWAneAEwB4AVAPnAF5wAFXAYwGtyAaOgQ30l04BsSAOQD2AOyHZ+-TgCN+8chQoBtZvGgiAZuDIBdCgG5gMBMlQYcBYkpr0mrMm3ABvFXXC4x4dZp36ALl13PXB4AA9IeDEiAGdwUQkpGXlFMhCqcAB+cDF4ADd4fHAgugBfNQ1tXQNjEzhEAEk7FHQsPEJSF3AtEREgsWwAW1ki51luLKDYyHwvAHNwMqowMPCERiiiKBFwUdcevoHh0eKy4EZxGc8g5toXXv7wAEZx7iDn8+AgA