Michael ClausenPromise Races don’t always have a winner.There is something very counter-intuitive about the Promise.race function. For those unfamiliar with Promises in their ES6 form check this…Jun 19, 2017Jun 19, 2017
Michael ClausenFinding the shortest path… a good use of the breadth first search algorithmHere is an example of a kind of problem that can be solved with a simple binary search algorithm. Let’s find the shortest path between two…Jun 12, 2017Jun 12, 2017