2 ms·
What algorithm? I think these problems are fun.
by dmvaldman 14y ago
What 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.