Python/project_euler
Nelson Stoik ef53bbdf5a
Style Improvements for project_euler/problem_26 (#2958)
* add typehints and docstrings

* add typehint and default value

* add typehint and default value. Removed unused variable.

* do not modifiy the given solution

* add doctests

* update sol1 after running black

* add typehint, docstring, and doctest

* update sol2 after running black

* add full problem statement and solution function with typehint and doctest

* renamed original function instead of adding new one

* don't alter original solution
2020-10-08 08:52:24 +05:30
..
problem_01 Fix typehints in project_euler/problem01 (#2891) 2020-10-06 08:12:16 +05:30
problem_02 Hacktoberfest 2020: Apply style guidelines for Project Euler problem_02 (#2898) 2020-10-06 10:04:16 +05:30
problem_03 Hacktoberfest 2020: Add style improvements for Project Euler Problem 03 (#2917) 2020-10-06 20:24:39 +05:30
problem_04 Add style improvements to solutions for Project Euler Problem 04 (#2945) 2020-10-07 10:33:34 +05:30
problem_05 Add type hints and default args for Project Euler problem 5 (#2982) 2020-10-08 08:50:11 +05:30
problem_06 Add default arguments for Project Euler problem 6 (#2957) 2020-10-07 10:17:43 +05:30
problem_07 isort --profile black . (#2181) 2020-07-06 09:44:19 +02:00
problem_08 Tighten up psf/black and flake8 (#2024) 2020-05-22 08:10:11 +02:00
problem_09 Optimization problem_10 in project_euler (#2453) 2020-09-22 15:15:11 +02:00
problem_10 Project Euler Problem 10: style improvements (#2924) 2020-10-06 17:48:07 +05:30
problem_11 Fix all errors mentioned in pre-commit run (#2512) 2020-09-30 10:38:00 +02:00
problem_12 psf/black code formatting (#1277) 2019-10-05 10:14:13 +05:00
problem_13 Travis CI: Add a flake8 test for unused imports (#1038) 2019-07-25 13:19:00 +05:30
problem_14 pyupgrade --py37-plus **/*.py (#1654) 2020-01-03 22:25:36 +08:00
problem_15 Optimized recursive_bubble_sort (#2410) 2020-09-10 10:31:26 +02:00
problem_16 Tighten up psf/black and flake8 (#2024) 2020-05-22 08:10:11 +02:00
problem_17 Added doctest and more explanation about Dijkstra execution. (#1014) 2019-07-17 01:09:53 +02:00
problem_18 Add __init__.py files in all the directories (#2503) 2020-09-28 19:42:36 +02:00
problem_19 Fixes for issue "Fix the LGTM issues #1024" (#1034) 2019-07-18 19:05:14 +02:00
problem_20 Add type hints and default args for problem 20 (#2962) 2020-10-07 17:59:55 +08:00
problem_21 pyupgrade --py37-plus **/*.py (#1654) 2020-01-03 22:25:36 +08:00
problem_22 pyupgrade --py37-plus **/*.py (#1654) 2020-01-03 22:25:36 +08:00
problem_23 Add __init__.py files in all the directories (#2503) 2020-09-28 19:42:36 +02:00
problem_24 Added doctest and more explanation about Dijkstra execution. (#1014) 2019-07-17 01:09:53 +02:00
problem_25 Add typehints and default input for project_euler/problem_25 (#2901) 2020-10-07 09:27:25 +05:30
problem_26 Style Improvements for project_euler/problem_26 (#2958) 2020-10-08 08:52:24 +05:30
problem_27 Add __init__.py files in all the directories (#2503) 2020-09-28 19:42:36 +02:00
problem_28 Update code style for Project Euler Problem 28 (#2976) 2020-10-07 18:35:06 +05:30
problem_29 Bring problem_29 solution in line with project style guidelines (#2949) 2020-10-07 08:33:03 +05:30
problem_30 Bring problem_30 solution in line with project style guidelines (#2896) 2020-10-06 08:21:39 +05:30
problem_31 Tighten up psf/black and flake8 (#2024) 2020-05-22 08:10:11 +02:00
problem_32 Add __init__.py files in all the directories (#2503) 2020-09-28 19:42:36 +02:00
problem_33 pyupgrade --py37-plus **/*.py (#1654) 2020-01-03 22:25:36 +08:00
problem_34 Created problem_45 in project_euler and Speed Boost for problem_34/sol1.py (#2349) 2020-08-25 13:48:19 +02:00
problem_35 from __future__ import annotations (#2464) 2020-09-23 13:30:13 +02:00
problem_36 psf/black code formatting (#1277) 2019-10-05 10:14:13 +05:00
problem_37 from __future__ import annotations (#2464) 2020-09-23 13:30:13 +02:00
problem_39 from __future__ import annotations (#2464) 2020-09-23 13:30:13 +02:00
problem_40 pyupgrade --py37-plus **/*.py (#1654) 2020-01-03 22:25:36 +08:00
problem_41 from __future__ import annotations (#2464) 2020-09-23 13:30:13 +02:00
problem_42 Add __init__.py files in all the directories (#2503) 2020-09-28 19:42:36 +02:00
problem_43 Created problem_43 in project_euler (#2340) 2020-08-20 17:02:14 +02:00
problem_44 Created problem_44 in project_euler (#2348) 2020-08-25 09:46:13 +02:00
problem_45 Created problem_45 in project_euler and Speed Boost for problem_34/sol1.py (#2349) 2020-08-25 13:48:19 +02:00
problem_46 from __future__ import annotations (#2464) 2020-09-23 13:30:13 +02:00
problem_47 Only one carriage return (#2155) 2020-06-25 19:15:30 +02:00
problem_48 Update sol1.py (#2455) 2020-09-20 21:33:26 +02:00
problem_49 Add a solution for Project Euler 49 (#2702) 2020-10-05 08:27:09 +05:30
problem_52 Added doctest and more explanation about Dijkstra execution. (#1014) 2019-07-17 01:09:53 +02:00
problem_53 pyupgrade --py37-plus **/*.py (#1654) 2020-01-03 22:25:36 +08:00
problem_54 Add solution() for problem 54 of Project Euler (#2472) 2020-09-24 15:16:55 +02:00
problem_55 [Project Euler] Fix code style in Problem 55 (#2985) 2020-10-07 20:39:36 +05:30
problem_56 Optimized recursive_bubble_sort (#2410) 2020-09-10 10:31:26 +02:00
problem_63 Created problem_63 in project_euler (#2357) 2020-08-27 13:40:03 +02:00
problem_67 psf/black code formatting (#1277) 2019-10-05 10:14:13 +05:00
problem_76 Address #2786 - Fix code style in Project Euler Problem 76 (#2978) 2020-10-07 19:08:02 +05:30
problem_97 Created problem_97 in project euler (#2476) 2020-09-25 11:52:19 +02:00
problem_99 Hacktoberfest 2020: Rename method for project_euler/problem_99 (#2981) 2020-10-07 20:46:11 +05:30
problem_112 Created problem_112.py in project_euler (#2532) 2020-10-03 16:38:56 +08:00
problem_120 Add Project Euler 120 solution (#2887) 2020-10-06 08:41:15 +05:30
problem_234 Tighten up psf/black and flake8 (#2024) 2020-05-22 08:10:11 +02:00
problem_551 Euler problem 551 sol 1: Reduce McCabe code complexity (#2141) 2020-06-22 14:16:12 +02:00
__init__.py Add __init__.py files in all the directories (#2503) 2020-09-28 19:42:36 +02:00
project_euler_answers.json Fix all errors mentioned in pre-commit run (#2512) 2020-09-30 10:38:00 +02:00
README.md fixed project eular readme (#1391) 2019-10-18 23:52:32 +02:00
validate_solutions.py Add algorithm for testing Project Euler solutions (#2471) 2020-09-28 08:18:19 +02:00

ProjectEuler

Problems are taken from https://projecteuler.net/.

Project Euler is a series of challenging mathematical/computer programming problems that will require more than just mathematical insights to solve. Project Euler is ideal for mathematicians who are learning to code.

Here the efficiency of your code is also checked. I've tried to provide all the best possible solutions.

For description of the problem statements, kindly visit https://projecteuler.net/show=all