3 ms·
I solved this recursively, but with a different algorithm... will try this out now :) Looks like fun!
by seivan 14y ago
I solved this recursively, but with a different algorithm... will try this out now :)
Looks like fun!
- dmvaldman 14y agoWhat algorithm? I think these problems are fun.
- seivan 14y agoI don't got a name for it, as it wasn't a specific algorithm being followed, I Just "solved it" by coding it. I had to do it recursively because calling it once would not give an accurate number, so it called itself until the numbers matched up :) I can share the Ruby code once I clean it up. I intend to open source the web app anyway.