New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Transpose 2 #31820
Labels
new-challenge
Propose a new challenge, a PR will be auto generated
Comments
E0SelmY4V
added
the
new-challenge
Propose a new challenge, a PR will be auto generated
label
Jan 23, 2024
#31821 - Pull Request updated. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Info
Basic info of your challenge questions,
Question
Transposition is a math concept.
We can use a 2d tuples to describe a matrix in TS.
But tuples in TS aren't always squares, which makes the transposition of 2d tuples become more difficult.
It's easy to understand, so the mission of making a type which can transpose given 2d tuple as accurate as possible is now assigned to you!
Template
This is the template for challengers to start the coding. Basically, you just need to change the name of your generic/function and leave to implementation
any
.Test Cases
Provide some test cases for your challenge, you can use some utils from
@type-challenges/utils
for asserting.The text was updated successfully, but these errors were encountered: