It was another hot day; the classroom was almost empty, only those who were brave enough to try to pass the test were left. I wanted that one. I could feel it. I could pass that test. But I was in the state of mind break that time. “What the frog does ‘i++’ means??”, I thought.
dzone.com: latest front page
Stoimen Popov is back with another episode in his Algorithm of the Week series, and this week he tackles prime numbers. Stoimen begins with a very basic (brute force) approach, and then refines his algorithm to be far more effective, though it still works best for smaller numbers.