Archive
The original posts
The algorithm and CS posts this site started with, written in 2017. They stay at their original addresses. Newer, step-by-step lessons on the same topics are linked where they exist.
-
Minimum Spanning Tree
Minimum spanning tree spans all nodes at minimum aggregate cost. Essential for approximation algorithms, routing protocols, and real-time face verification.
Newer lesson: Minimum Spanning Trees, Union-Find
-
Community Detection: Introduction
A community is densely intra-connected and sparsely inter-connected. Community Detection is the process of finding such structures in a network.
Newer lesson: Graph Basics
-
Semantic Networks: Basics
Semantic networks are graphical representations of the interconnections between nodes — the backbone of knowledge representation in Artificial Intelligence.
Newer lesson: Graph Basics, Embeddings
-
Network Theory (Graph Theory)
Graphs are sets of vertices connected by edges. This field underlies social networks, routing, compilers, and more.
Newer lesson: Graph Basics
-
Markov Chains: Basics
A Markov chain is a stochastic model where the probability of each event depends only on the state attained in the previous event.
Newer lesson: What Is an LLM
-
Speeding Up Search in Linked Lists
Linked list is a fundamental data structure used in countless applications. Exploring techniques to optimize it for real-world performance.
Newer lesson: Linked Lists
-
Merge Sort
Merge sort uses the divide-and-conquer paradigm — breaking the problem into parts, sorting each, then merging the results back together.
Newer lesson: Merge Sort, Divide and Conquer