Tag Javascript

Diagrams with Mermaid

Development

Diagrams with Mermaid

Discover Mermaid's Markdown-inspired syntax to craft diverse diagrams using simple text in your blog posts. Learn how to integrate and customize Mermaid diagrams.

· 3 minutes reading time
Text scrambler

Development

Text scrambler

A text is still readable if you re-arrange the letters of every word, but leave the first and last character in place.

· 5 minutes reading time
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.

· 3 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