Runtime Penalty for Functional Code Style

Python, Rust and C++ all support procedural and functional programming style. Turns out in the native languages, the compiler can optimize the functional stuff and yield similar or the even better performance. In Python, however, the functional programming style makes it even slower. ...

Project Euler Solution 96: Su Doku

In this post we will look at Project Euler Problem 96 which is about solving Su Doku puzzles. ...

Project Euler Solution 92: Square Digit Chains

In Project Euler Problem 92 we’re asked to look at some digit stuff again. ...

Project Euler Solution 89: Roman Numerals

Here we will look at Project Euler Problem 89 where we have to deal with Roman numerals. ...

Project Euler Solution 87: Prime Power Triples

In Project Euler Problem 87 we are supposed to find out how many numbers below fifty million can be expressed as a sum of a prime square, a prime cube and a prime to the fourth power. ...

Project Euler Solution 99: Largest exponential

In Problem 99: Largest exponential we are given a bunch of base exponent pairs and have to order these exponential numbers. ...

Project Euler Solution 97: Large non-Mersenne prime

In Problem 97: Large non-Mersenne prime we are to find the last digits of a very large prime number. ...

Project Euler Solution 86: Cuboid Route

Cube...

Project Euler Solution 85: Counting Rectangles

In Problem 85: Counting Rectangles we are asked to compute the number of rectangles on a grid. ...

Project Euler Solution 84: Monopoly Odds

In Problem 84: Monopoly Odds we are asked to compute the odds for the fields of a Monopoly board. ...