Posted inalgorithm Faster sorting with AlphaDev Posted by By lukegarrigan 3rd July 2023 2023 has been an exciting year in the world of AI. It's not just the…
Posted inalgorithm Comparing Flood Fill Algorithms in JavaScript Posted by By lukegarrigan 21st August 2022 Every now and then I like to deep-dive into an algorithm I'll probably never use…
Posted inalgorithm Coding a base64 Encoder in JavaScript Posted by By lukegarrigan 2nd July 2022 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 28th December 2021 The past few weeks I've spent a lot of time hacking my way through Advent…
Posted inalgorithm Coding a Roomba Posted by By lukegarrigan 16th October 2021 Last night as I was drifting off to sleep, I was suddenly fuelled by the…
Posted inalgorithm Sorting algorithms visualised Posted by By lukegarrigan 13th October 2021 University and coding interviews; the only times you'll ever need sorting algorithms. Most of the…
Posted inalgorithm simulations Langton’s Ant Posted by By lukegarrigan 24th September 2021 Continuing on with the theme of universal Turing machines, Langton's ant is as simple as…
Posted inalgorithm The Game of Life Posted by By lukegarrigan 19th June 2021 The Game of Life or cellular automaton was developed by John Horton Conway in 1970 with…
Posted inalgorithm What is Breadth-First Search (BFS) Posted by By lukegarrigan 5th June 2021 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 22nd May 2021 Today I've been playing around with simulated annealing, which is just a probabilistic technique for…