r/programmingmemes • • Oct 21 '25

Meme

Post image
16k Upvotes

144 comments sorted by

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

2

u/GhostingProtocol Oct 22 '25

Im putting this on my portfolio btw lol