Live data from Hacker News

Project Euler

projecteuler.net

161–170 of 172 posts

Re: Project Euler

#161
Project Euler is a good place for teenagers to start learning programming, better than the routes of game or website design.

Re: Project Euler

#163

Did any of you interview and having a good Project Euler account was positively recognized? This never happened to me. No one seems to know the site. They seem to be mostly interested in Top Coder and similar platforms.

Happened to me once. I have my PE score on my resume and during the first technical interview on the phone the interviewer commented positively on it. I moved on to onsite interviews after that, but I'm unsure how much my PE score helped in that regard.

Re: Project Euler

#164

Earlier quoted context omitted.

That is quite an achievement. Can you comment on your background ? type of education, work.

I was finishing up the second year of a computer engineering degree when I discovered Project Euler, and after a few months of solving the problems I realized I wanted to study math instead, so I switched my major to applied math. Honestly I learned more from solving PE problems than school. Now I'm working in industry on AI.

That's encouraging to hear. I'm 30 problems in so far since starting ~1.5 months ago. I starting working through the PE problems to develop my python and general programming skills since I have been primarily using R as a data scientist. I'm glad someone else has found it useful for this field.

Re: Project Euler

#165
post #59

Earlier quoted context omitted.

Read G.H. Hardy's Introduction to Number Theory, Then possibly A Course of Pure Mathematics, also by him. Note that the level for which you're aiming, is a level wherein such summation is much closer to triviality, than it is to `black magic` - whatever that means.

If you mean Hardy and Wright's Introduction to the Theory of Numbers , I agree it is excellent, but you can solve the great majority of the project Euler problems without going to quite that level. I particularly enjoyed Daniel Shank's Solved and Unsolved Problems in Number Theory but even that goes beyond what is necessary.

I'll check Daniel Shanks' book out. But the OP was interested in reaching a level where the proof of such summation is not `black magic` - at least that was my impression - which implies reaching a level considerably higher than the minimum... Hardy would be helpful, and is at a sufficiently higher level than future Project Euler questions he might encounter e.g. those involving continued fractions, or Diophantine equations, or even modular arithmetic etc.

Re: Project Euler

#166

Earlier quoted context omitted.

I was finishing up the second year of a computer engineering degree when I discovered Project Euler, and after a few months of solving the problems I realized I wanted to study math instead, so I switched my major to applied math. Honestly I learned more from solving PE problems than school. Now I'm working in industry on AI.

That's encouraging to hear. I'm 30 problems in so far since starting ~1.5 months ago. I starting working through the PE problems to develop my python and general programming skills since I have been primarily using R as a data scientist. I'm glad someone else has found it useful for this field.

My routine was to solve the problem, then spend time reading through the solutions in the forum to see how I could optimize my code. Many times this meant completely rewriting my solution. For a lot of problems I spent more time making my code run as fast as possible than I did solving the problem in the first place. Doing this was critical for learning algorithms and techniques that I needed to solve future problems.

Re: Project Euler

#167

After hearing about it for years, I decided to start working through Project Euler about two weeks ago. It really is much more about math than programming, although it's a lot of fun to take on the problems with a language that has tail call optimization because so many of the problems involve recurrence relations. I like that the problems are constructed in a way that usually punishes you for trying to use brute for…

Yes, but ProjectEuler is awesome since abstracting ideas and optimization is a great way to training and search for the best resources of your host language.

Me and some friends has been written some solutions for ProjectEuler on a lot of different languages for years. Sincerly, I have a giant feedback from them and we have awesome people writing things on the problem_solved-walled threads per question.

I love the ProjectEuler way to "lock" and "force" the user really solve the problem in your own before getting further for more deep analysis. For me, copy-paste solution don't help in anything to your skills of abstractions! For that reason, for me StackOverflow sometimes may be so evil for non-engineer/non-dev problems. Beginneers should avoid it mainly and search more deeply.

BTW, this is the repo: https://www.github.com/DestructHub/ProjectEuler

Re: Project Euler

#168
post #70

Earlier quoted context omitted.

Euler was a mathematician after all. Now thinking about it I wonder what project Djikstra would look like, or say maybe project Stallman.

There's a Project Rosalind (named after Rosalind Franklin) which is sort of like Project Euler for bioinformatics: http://rosalind.info/about/

I like https://rosalind.info bioinformatics problems because:

- There are problem explanations and an accompanying textbook.

- You can structure the solutions with unit tests that test for known good values.

- There's a graph of problems.

Re: Project Euler

#169

Earlier quoted context omitted.

His point is correct. There are usually efficient and inefficient ways to attack each problem. It's better to solve the math problem first, before the coding problem.

Only when the scale truly matters is the most efficient algorithm the best choice though. For a lot of problems, especially in early stage startups, the brute force solution is more than sufficient and avoids premature optimization. Having perfect algorithms for everything comes with an opportunity cost in startup land that isn't aligned with whether or not your business succeeds most of the time. (This really only a…

The context here is Project Euler though. (Math problems)

Re: Project Euler

#170

Earlier quoted context omitted.

My only real complaint is (according to my experience) unless you happen to understand some mathematical concept/s involved in the question, it's incredibly difficult to get some insight or clue for how to go about solving it. The forums are a fantastic resource once you already know how to solve the problem .

You could just look things up with Google, Wikipedia, etc. It's not like it's hard to do that for the first 100 problems.

It's hard if you don't know what you're looking for. And if you just Google "Euler problem 67" you're very likely to find a solution, which kind of ruins the point. It would be cool if project Euler came with an official multilevel hint systems with each hint getting closer and closer to giving you the actual solution .
Post reply on HN