Algorithms & Computational Procedures

Step into the logic that powers computation. From ancient arithmetic methods to modern machine learning pipelines, explore the foundational procedures that solve problems, optimize systems, and drive innovation across every scientific discipline.

📄 1,247 articles 🔄 Updated daily 👥 42 active contributors 🌍 28 languages

Dijkstra's Algorithm: Shortest Paths in Weighted Graphs

A comprehensive breakdown of Edsger Dijkstra's seminal pathfinding algorithm, covering greedy search strategies, time complexity analysis, and real-world routing applications.

Understanding Transformers: Self-Attention Mechanisms

How attention algorithms revolutionized natural language processing. A deep dive into multi-head attention, positional encoding, and the architecture behind modern LLMs.

K-Means Clustering: Unsupervised Learning Fundamentals

An accessible yet rigorous guide to centroid-based clustering, covering initialization strategies, convergence proofs, and limitations in high-dimensional spaces.

Shunting Yard Algorithm: Parsing Mathematical Expressions

Donald Knuth's method for converting infix notation to reverse Polish notation. Essential for compilers, calculators, and expression evaluators in software engineering.

A* Pathfinding: Heuristic Search in Game AI

How heuristic functions guide optimal pathfinding in dynamic environments. Covers admissibility, consistency, and practical optimizations for real-time systems.

RSA Encryption: Public-Key Cryptography Explained

The mathematical foundations of asymmetric encryption. From modular arithmetic and Euler's totient function to key generation, encryption, and digital signatures.