Project Euler Problem Update #6

Some more solutions.

Problem 87 was my 50th problem and I’m now at Level 2 at Project Euler.

In addition to advancing me to the next level, Problem 87 (or rather the gurus who’d solved it before me) reminded me of an important feature of Java Sets… They do not allow duplicates. Very important lesson indeed, since changing solution from List to Set made my solution execute almost 400 times faster πŸ™‚

Project Euler Problem Update #5

More solutions.

I solved problem 214 using Python, others using Xtend. Most, if not all, my solutions are based on brute force and it really isn’t optimal way to solve them. It really makes me feel dumb when my solution takes an hour and others have solved the same problem in seconds… *shrug* πŸ™‚

Project Euler Problem Update #4

More solutions.

I solved Problem 69 using Python instead of Xtend, because Python was better performing than Xtend.

Project Euler Problem Update #3

Some more solutions

Problems get harder as their number gets bigger. The above problems were relatively easy but I have several in progress that I have a hard time finding the solution. Problem 221 for example πŸ™‚

Project Euler Problem Update #2

More solutions

Try and err. Use brute force. Try and err. Think. Try and err. Think more and use brute force again. Try, try and try.

That’s the typical formula for solving problems πŸ™‚