Testing Next.js with Jest and Enzyme

Setting up unit testing for a Next.js + TypeScript project

A Sieve of Eratosthenes TypeScript implementation

Finding all prime numbers between 2 and n using the Sieve of Eratosthenes

Computing rankings in MySQL

When SQL gets ugly

k-means clustering with ruby

Machine Learning / clustering algorithms in ruby

Playing with ruby hashes

Hash#new tricks

Quicksort (in-place) with Ruby

Quicksort in ruby

The median of medians algorithm with ruby

Find the kth smallest number, in ruby