Journal
Thoughts, theories, and deep dives into software engineering and cybersecurity.
Heaps and Priority Queues: Scheduling Work Efficiently
Heaps and priority queues provide efficient ordering for scheduling tasks, managing timers, and processing events. This...
Graphs: Modeling Relationships, Paths, and Dependencies
Graphs model relationships, paths, and dependencies across domains from social networks to build pipelines. This article...
Breadth-First and Depth-First Search in Application Code
Breadth-first and depth-first search patterns underpin many application problems, from routing and dependency resolution...
Sorting Algorithms: When Simplicity Beats Cleverness
Simple sorting algorithms often outperform clever ones in real systems where data size, hardware, and maintenance matter...
Binary Search: A Small Algorithm with Large Practical Value
Binary search is a compact, efficient algorithm with outsized impact across systems. It appears in databases, UI control...
Dynamic Programming: Turning Repeated Work into Stored Results
Dynamic programming eliminates redundant computation by storing intermediate results. This article explains why DP matte...
Greedy Algorithms: When Local Choices Produce Global Solutions
Greedy algorithms make locally optimal choices to build solutions quickly. They appear in scheduling, routing, and resou...
Backtracking: Exploring Possibilities Without Losing Control
Backtracking is a disciplined exploration technique used to solve combinatorial problems, constraint satisfaction, and s...
Bitwise Operations: Compact Data and Fast Low-Level Logic
Bitwise operations enable compact data representation and high-performance low-level logic. They remain essential in sys...