An open API service indexing awesome lists of open source software.

https://github.com/zsarge/projecteuler

https://projecteuler.net/
https://github.com/zsarge/projecteuler

Last synced: about 1 year ago
JSON representation

https://projecteuler.net/

Awesome Lists containing this project

README

          

# [Project Euler](https://projecteuler.net)

These are my solutions for various [Project Euler](https://projecteuler.net) problems.

Project Euler is a website that has hundreds of challenges related to writing algorithms to solve problems.

**Disclaimer:**

Not all of these solutions are particularly good. My goal is to practice solving the problems myself, not to practice implementing other people's solutions.

**Note:**

> Members found to be spoiling problems beyond #100 will have their accounts locked.

## My Project Euler solutions:
(Click a number to view the associated solution.)

| [1](solutions/001/) | [2](solutions/002/solve2.rb) | [3](solutions/003/solve3.rb) | [4](solutions/004/solve4.rb) | [5](solutions/005/solve5.rb) | [6](solutions/006/solve6.rb) | [7](solutions/007/solve7.rb) | [8](solutions/008/solve8.rb) | [9](solutions/009/solve9.rb) | [10](solutions/010/solve10.rb) |
| ------------------------------ | ------------------------------ | ------------------------------ | ------------------------------ | ------------------------------ | ------------------------------ | ------------------------------ | -------------------------------- | ------------------------------ | ------------------------------ |
| [11](solutions/011/solve11.py) | [12](solutions/012/solve12.py) | [13](solutions/013/solve13.py) | [14](solutions/014/solve14.py) | [15](solutions/015/solve15.py) | [16](solutions/016/solve16.py) | [17](solutions/017/solve17.py) | [18](solutions/018/solve18.py) | [19](solutions/019/solve19.py) | [20](solutions/020/solve20.py) |
| [21](solutions/021/solve21.py) | [22](solutions/022/solve22.py) | [23](solutions/023/solve23.py) | [24](solutions/024/solve24.py) | [25](solutions/025/solve25.py) | 26 | [27](solutions/027/solve27.py) | [28](solutions/028/solve28.java) | [29](solutions/029/solve29.rb) | [30](solutions/030/solve30.hs) |
| [31](solutions/031/solve31.rb) | [32](solutions/032/solve32.hs) | 33 | [34](solutions/034/solve34.hs) | 35 | [36](solutions/036/solve36.hs) | 37 | 38 | 39 | 40 |
| 41 | [42](solutions/042/solve42.hs) | 43 | [44](solutions/044/solve44.hs) | [45](solutions/045/solve45.hs) | 46 | 47 | [48](solutions/048/solve48.hs) | 49 | 50 |
| 51 | [52](solutions/052/) | 53 | 54 | [55](solutions/055/solve55.rb) | 56 | 57 | 58 | [59](solutions/059/solve59.hs) | 60 |
| 61 | 62 | 63 | 64 | 65 | 66 | [67](solutions/067/solve67.py) | 68 | 69 | 70 |
| 71 | 72 | 73 | 74 | 75 | 76 | 77 | 78 | 79 | 80 |
| 81 | 82 | 83 | 84 | 85 | 86 | 87 | 88 | [89](solutions/089/solve89.py) | 90 |
| 91 | 92 | 93 | 94 | 95 | 96 | 97 | 98 | 99 | 100 |

[[View solutions filtered by language used]](solutionsByLanguages.md)



I have some scripts set up to make working on problems a smoother experience:

- [`addSolution.rb`](addSolution.rb) takes a problem number, creates the associated folder and file, and copies the problem's prompt from the website.
- [`generateReadme.rb`](generateReadme.rb) generates this readme based on the files in the solutions folder.

Every solution gets its own directory because I plan on varying the languages I use, and this keeps everything uniform.

Code by [Zack Sargent](https://github.com/zsarge).