[Community Puzzle] Ring the bells

Coding Games and Programming Challenges to Code Better

Send your feedback or ask for help here!

Created by @nicola,validated by @David_Augusto_Villa,@Alex-1 and @Nagato_Uzumaki.
If you have any issues, feel free to ping them.

I don’t understand the last example : (1 2 3)(1 4 3)
With the explanations given in the description I would have guessed :
1 β†’ 2 then 2 β†’ 2
2 β†’ 3 then 3 β†’ 1
3 β†’ 1 then 1 β†’ 4
4 β†’ 4 then 4 β†’ 3
And a final result of (1 2)(3 4). Did I get something wrong ?

Edit: nvm I found my issue. Since those are functions, they’re resolved from right to left.

1 Like