Added solution to Project Euler problem 301 (#3343) · coderjack/algorithms-in-python@d3ead53 · GitHub
Skip to content

Commit d3ead53

Browse files
Added solution to Project Euler problem 301 (TheAlgorithms#3343)
* Added solution to Project Euler problem 301 * Added newline to end of file * Fixed formatting and tests * Changed lossCount to loss_count * Fixed default parameter value for solution * Removed helper function and modified print stmt * Fixed code formatting * Optimized solution from O(n^2) to O(1) constant time * Update sol1.py
1 parent 1f65007 commit d3ead53

2 files changed

Lines changed: 58 additions & 0 deletions

File tree

project_euler/problem_301/__init__.py

Whitespace-only changes.

project_euler/problem_301/sol1.py

Lines changed: 58 additions & 0 deletions

0 commit comments

Comments
 (0)