Tag Javascript

The Game of Fifteen

Development

The Game of Fifteen

A playable online game. Not every possible starting position is solvable, so we have to take special care.

· 5 minutes reading time
The Monty-Hall-Problem

Math

The Monty-Hall-Problem

The problem is a brain-teaser, in the form of a probability puzzle. It has sparked endless debate. See the solution with a simulator.

· 5 minutes reading time
Tail recursion with trampoline

Development

Tail recursion with trampoline

Node.js does not support tail call optimization, but a trampoline has the same effect.

· 11 minutes reading time