Blog Con X

All Posts

Showing 10 posts

Learn how the Fisher-Yates Shuffle algorithm generates unbiased random permutations efficiently.
Eduardo PachecoSeptember 25, 2026
Read more
Algorithms4 min read

Prim's Algorithm Explained

A complete guide to Prim’s Minimum Spanning Tree (MST) algorithm, how it works, and an implementation in JavaScript.
Eduardo PachecoDecember 02, 2025
Read more
A complete guide to the Bellman-Ford shortest path algorithm, including how it works, when to use it, and a JavaScript implementation.
Eduardo PachecoDecember 01, 2025
Read more
Understand Floyd’s Cycle Detection Algorithm, also known as the Tortoise and Hare approach, and learn how to detect cycles in linked lists efficiently.
Eduardo PachecoNovember 11, 2025
Read more
Learn how the Boyer-Moore Majority Vote algorithm efficiently finds the majority element in an array using linear time and constant space.
Eduardo PachecoOctober 17, 2025
Read more
Learn how Dijkstra’s Dutch National Flag algorithm efficiently sorts arrays of three categories (like 0s, 1s, and 2s) in linear time.
Eduardo PachecoOctober 16, 2025
Read more
Data Structures3 min read

Types of Data Structures

Understand the main types of data structures — linear, non-linear, and hash-based — and how they organize and manage data differently.
Eduardo PachecoJanuary 26, 2025
Read more
Learn how Dijkstra’s algorithm finds the shortest paths in a weighted graph, its logic, implementation, and complexity.
Eduardo PachecoJanuary 25, 2025
Read more
Data Structures2 min read

Understanding Monotonic Stacks

A deep dive into the Monotonic Stack data structure, its use cases, and implementation.
Eduardo PachecoJanuary 24, 2025
Read more
An in-depth guide to understanding the Backtracking algorithm, its applications, and implementation.
Eduardo PachecoJanuary 23, 2025
Read more
Page 1 of 4