Forums
New posts
Search forums
Members
Current visitors
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Menu
Log in
Register
Install the app
Install
Forums
Archive
Archive
Ruby
[QUIZ] Weird Numbers (#57) Solution
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
[QUOTE="James Edward Gray II, post: 4495116"] It's cheating to get correct answers quickly? ;) I haven't compared the Array in question with the posted sequences. Perhaps it's not very complete. Let me ask you this though, since we're talking about this: Which is easier to debug, the sequence list or a broken calculation solution? Didn't the solution also brute force answers when it left its list of known numbers? One last question: How well does your presumably fast solution do when it goes beyond the listed sequence? Does it still find lots of answers, quickly? I'm really not trying to be mean here and I apologize if I'm coming off that way. I think what Hampton hit on is a simple cache optimization. It's fast and very effective. I don't think we should be so quick to toss it out as a viable approach... James Edward Gray II [/QUOTE]
Verification
Post reply
Forums
Archive
Archive
Ruby
[QUIZ] Weird Numbers (#57) Solution
Top