Permutation Generator - A Proposed New Problem

Back to General discussions forum

CSFPython     2025-07-11 07:33:21

I came across this interesting permutation generator and thought it would make a good problem.

Rodion (admin)     2025-07-11 08:56:57
User avatar

Thank you Clive! The problem is online now, I hope to try this too!

TestUser     2025-07-13 08:37:41
User avatar

I'd say thanks once more - for I remember when I was first shown this algorithm by the teacher in the high school - of course the details of direction assignment quickly expired from my mind but I preserved vague suspicion that this order of permutations still could be somehow "enumerated". Well, I spent a hour now to come up with idea and another one to shape it out and debug - and voila! I wonder what "grade" Mathias will assign to this one, perhaps 3 (judging that I solved it - and supposing that quicker-minded person could do it in ten minutes).

gardengnome     2025-07-13 11:02:17
User avatar

Thanks. I think it's a 4.

tomasloksa     2025-07-25 09:24:49

The problem is shown in the task list twice and none of the links work. I had to edit the URI manually to get to the problem.

Rodion (admin)     2025-07-28 11:25:00
User avatar

Hi Tomas, if you meant this task list then it seems I don't observe the problem, at least now. What wrong url was you needed to edit? Could you re-check if the issue still exists for you?

Please login and solve 5 problems to be able to post at forum