Binary Search Algorithm
A walkthrough of binary search with both iterative and recursive implementations, plus why it's O(log n).
January 5, 2023
23 posts
A walkthrough of binary search with both iterative and recursive implementations, plus why it's O(log n).
January 5, 2023
How to use the Master's Theorem to figure out the time complexity of divide-and-conquer algorithms like merge sort.
January 5, 2023
The math behind figuring out time complexity for recursive algorithms using recurrence relations.
January 5, 2023
How heaps work, why they're useful for priority queues, and how to implement heap sort.
January 5, 2023
Best resources for studying machine learning
December 9, 2022
Common data structures and the problems they solve.
November 26, 2022
Large language models have a number of interesting properties
November 26, 2022
My notes on algorithms and data structures, from Big O basics to heaps and sorting.
October 4, 2022
What algorithms are, why they matter, and how to start thinking about problem solving.
October 4, 2022
A plain-text recipe format that generates shopping lists and keeps your recipes in git.
September 21, 2022
Integer Sum Formula, Donald Knuth on Email, and Werner Herzog
August 23, 2022
Two ways to measure algorithm performance: running benchmarks vs. mathematical analysis.
August 22, 2022
What Big O notation actually means, how to compare algorithm efficiency, and the difference between O, Theta, and Omega.
August 22, 2022
I've remade my website using Logseq and the Hugo static site generator.
August 19, 2022
Launching my new Logseq-powered website, algorithm analysis techniques, the five-minute journal practice, Richard Hamming's advice on doing important research, and the release of Stable Diffusion AI image generation.
August 10, 2022
An outline of topics to study for understanding machine learning fundamentals.
July 17, 2022
AI-generated explanations of machine learning concepts, used to build a structured study guide.
July 12, 2022
A structured learning path through data structures and algorithms fundamentals.
July 10, 2022
Launching my newsletter, public graph, and logseq gpt3 AI plugin
June 12, 2022
I've started using GPT-3 to create text summaries, outlines and perform many other AI-powered tasks directly within the Logseq notetaking app using a new plugin I developed.
June 4, 2022
How to set up a Python project with the latest tools and best practices
February 13, 2022
How to have Emacs launch quickly and always be available on macOS.
June 25, 2019
What makes Clojure interesting and well suited for modern software development?
September 30, 2018