Add solution for Project Euler problem 188 (#2880) · zinating/algorithms-python@d0bc9e2 · GitHub
Skip to content

Commit d0bc9e2

Browse files
authored
Add solution for Project Euler problem 188 (TheAlgorithms#2880)
* Project Euler problem 188 solution * fix superscript notation * split out modexpt() function, and rename parameters * Add some more doctest, and add type hints * Add some reference links * Update docstrings and mark helper function private * Fix doctests and remove/improve redundant comments * fix as per style guide
1 parent fe0f2f3 commit d0bc9e2

2 files changed

Lines changed: 68 additions & 0 deletions

File tree

project_euler/problem_188/__init__.py

Whitespace-only changes.

project_euler/problem_188/sol1.py

Lines changed: 68 additions & 0 deletions

0 commit comments

Comments
 (0)