Skip to content

Latest commit

 

History

History
15 lines (12 loc) · 836 Bytes

README.md

File metadata and controls

15 lines (12 loc) · 836 Bytes

my solutions to Project Euler

I aim for the lowest complexity in both time and space.

prob time space stack depth
1 O(1) O(1) O(1)
2 O(1) O(1) O(1)
3 O(n^0.5) O(log(n)) O(log(n))
4 O(n^2) O(1) O(1)
5 O(n*log(log(n))) O(n) O(1)
6 O(1) O(1) O(1)
7 O(n*log(log(n))) O(e^n)? O(1)
8 O(n) O(n) O(1)