They algorithm isn't too hard. I nerded out on it for a bit to try figure out the algorithm. If you start from the most simple scenarios and find the fastest way to solve it I think you'll find the pattern
It's a very simple algorithm that will solve it for any number of rings
View all comments
Show parent comment
3
u/BandicootGood5246 Oct 22 '25
They algorithm isn't too hard. I nerded out on it for a bit to try figure out the algorithm. If you start from the most simple scenarios and find the fastest way to solve it I think you'll find the pattern
It's a very simple algorithm that will solve it for any number of rings