This one is easier than it looks. By now, you should be able to do something like this challenge without a ton of trouble, although, it will still take some thinking. We've seen very similar challenges in the past, and this one just combines some basic skills.
00:00 description of the challenge
00:38 attempt at a solution
11:51 all tests pass
14:29 alternatives
You can view the code for this challenge on GitHub: https://github.com/type-challenges/ty.... You can also view the umbrella issue with code for all the challenges we've solved here: https://github.com/type-challenges/ty...
A new challenge posts every day from January 1st 2023 to May 20th 2023. If you’d like to join in solving them, please email us at: [email protected]
Discord: / discord
Twitter: / mitypescript
Mastodon: https://fosstodon.org/@MichiganTypeSc...
Instagram: / michigantypescript
TikTok: / michigantypescript