Coding Games and Programming Challenges to Code Better
Send your feedback or ask for help here!
Created by @nicola,validated by @Jumpmaster,@Nagato_Uzumaki and @David_Augusto_Villa.
If you have any issues, feel free to ping them.
Coding Games and Programming Challenges to Code Better
Send your feedback or ask for help here!
Created by @nicola,validated by @Jumpmaster,@Nagato_Uzumaki and @David_Augusto_Villa.
If you have any issues, feel free to ping them.
Hey there!
The first two tests are easily understandable, but I don’t understand the Klein test.
Why would (1,2) and (3,4) generate 4 solutions?
you can have () by combining either one with themselves, but where is the 4th possibility coming from?
The four permutations are: (), (1 2), (3 4) and (1 2)(3 4).