In order to get good at anything, not only at programming, it would require a good amount of practice. Three years ago, I started out solving Project Euler problems on C++ and Java for fun, which taught me how to write good code in short of amount of time.

However, you'll notice that I have written the solutions using Python as I wanted to improve my Python coding skills and yes, just to code for fun!

This blog article will have all the links available to everyone to learn from and understand the solutions and you can access it on my GitHub repository.

Solution code

In addition, I have created a math library module named pe_lib.py, which contains all the mathematical functions that are used in every problem. I find it pretty useful as it allows me to re-use some of the functions instead of re-writing it for each solution.

Problem Link Solution Link
Problem 1Solution 1
Problem 2Solution 2
Problem 3Solution 3
Problem 4Solution 4
Problem 5Solution 5
Problem 6Solution 6
Problem 7Solution 7
Problem 8Solution 8
Problem 9Solution 9
Problem 10Solution 10
Problem 11Solution 11
Problem 12Solution 12
Problem 13Solution 13
Problem 14Solution 14
Problem 15Solution 15
Problem 16Solution 16
Problem 17Solution 17
Problem 18Solution 18
Problem 19Solution 19
Problem 20Solution 20
Problem 21Solution 21
Problem 22Solution 22
Problem 23Solution 23
Problem 24Solution 24
Problem 25Solution 25
Problem 26Solution 26
Problem 27Solution 27
Problem 28Solution 28
Problem 29Solution 29
Problem 30Solution 30
Problem 31Solution 31
Problem 32Solution 32
Problem 33Solution 33
Problem 34Solution 34
Problem 35Solution 35
Problem 36Solution 36
Problem 37Solution 37
Problem 38Solution 38
Problem 39Solution 39
Problem 40Solution 40
Problem 41Solution 41
Problem 42Solution 42
Problem 43Solution 43
Problem 44Solution 44
Problem 45Solution 45
Problem 46Solution 46
Problem 47Solution 47
Problem 48Solution 48
Problem 49Solution 49
Problem 50Solution 50
Problem 51Solution 51

Hope you'll find these solutions to be useful!

Stay tuned for more!