Posted inalgorithm Faster sorting with AlphaDev Posted by By lukegarrigan 2023 has been an exciting year in the world of AI. It's not just the…
Posted inalgorithm js Comparing Flood Fill Algorithms in JavaScript Posted by By lukegarrigan Every now and then I like to deep-dive into an algorithm I'll probably never use…
Posted inalgorithm js Coding a base64 Encoder in JavaScript Posted by By lukegarrigan Base64 encoding is something you'll come across almost every day in your development life, it's…
Posted inalgorithm Dijkstra’s algorithm Posted by By lukegarrigan The past few weeks I've spent a lot of time hacking my way through Advent…
Posted inalgorithm p5.js Coding a Roomba Posted by By lukegarrigan Last night as I was drifting off to sleep, I was suddenly fuelled by the…
Posted inalgorithm Sorting algorithms visualised Posted by By lukegarrigan University and coding interviews; the only times you'll ever need sorting algorithms. Most of the…
Posted inalgorithm simulation Langton’s Ant Posted by By lukegarrigan Continuing on with the theme of universal Turing machines, Langton's ant is as simple as…
Posted inalgorithm p5.js The Game of Life Posted by By lukegarrigan The Game of Life or cellular automaton was developed by John Horton Conway in 1970 with…
Posted inalgorithm p5.js What is Breadth-First Search (BFS) Posted by By lukegarrigan Introduction In computer science, a search algorithm is a series of steps that can be…
Posted inalgorithm What Is Simulated Annealing? Posted by By lukegarrigan Today I've been playing around with simulated annealing, which is just a probabilistic technique for…