Replies: 1 comment
-
I just started learning Uiua a couple days ago, but I gave this a shot to help me learn the language and came up with some pretty good solutions. I don't know if the match how other people use the language, but I think at least the first solution goes with the grain of how the language wants you to use it. Both solutions are brute force attempts which try every possible answer against all previous attempts. The first:
I haven't been writing Uiua for that long, but I think this is probably about as clear as possible. (at least in terms of how the data flows through the program, there might be a better combination of primitives to use) Using
This uses As you can see by my naming scheme, I did try several other variations, but these are the most clear and fastest respectively. |
Beta Was this translation helpful? Give feedback.
-
Hey no rush but I was wondering if someone could help with the solution to this puzzle in uiua. I have the solution in another lang and I would love to compare the two. This one example would help me a lot in terms of how to think in the paradigm.
Thanks
Beta Was this translation helpful? Give feedback.
All reactions