-
Notifications
You must be signed in to change notification settings - Fork 290
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
Plans for more puzzles? #16
Comments
I'm always happy for a PR if you are interested. I think these ones are quite difficult to do though. Would be curious how you pull it off. Nonzero is a particularly nasty one because it has dynamic output size (but maybe you could do it with padding) Maybe check out autodiff-puzzles for some sorting fun. |
I don't want to give spoilers, but nonzero was easy once I realized the trick (and it's an important trick, so I think it would make a good addition). Sort was definitely challenging, and took many tries to get it under 80 characters though. I am definitely going to check out your other puzzles! Thank you so much for making these! |
torch.gather would be a nice addition to this awesome collection of puzzles. |
I nominate
amin
(oramax
),nonzero
, and,sort
.The text was updated successfully, but these errors were encountered: