Tarjan Algorithm Beginner OverviewHello everyone 👋, welcome back to another article, today are going to dive into a very cool graph algorithm called "Tarjan", we are going to see what it is, how it works, what it's used for, and we are going to upsolve two very cool competitive prog...1AOct 3, 2023 · 15 min readblog.garybricks.com
The Greedy Guide: Essential Problems and Solutions for Competitive ProgrammingIntroduction Hello everyone! 😄 Welcome back to my blog! Today, we're diving into the fascinating world of greedy algorithms in competitive programming. If you've ever wondered how to spot a problem screaming for a greedy solution or how to tackle th...1ASep 30, 2023 · 22 min readblog.garybricks.com
Optimal Play: A Dynamic Programming Approach to an Array-based Turn Game"Introduction Hey there, fellow coders! Today, we're going to navigate through the exciting world of dynamic programming, tackling a captivating competitive programming problem along the way. We'll be stepping into the shoes of game strategists, playi...Jul 19, 2023 · 18 min readblog.garybricks.com
2D Prefix Array And 2D Segment Tree OverviewIntroduction Hello everyone, in this post we'll be mastering the 2D prefix sum array and 2D segment Tree while we solve a very interesting competitive programming problem to better understand these structures and their capabilities. Forest Queries Pr...Jun 19, 2023 · 18 min readblog.garybricks.com
Unveiling Dynamic Programming Solutions for 'Roads' and 'Organizing Tiles' Problems.Introduction Hello everyone, in this post we will look in detail at the solution to two similar, very classic DP problems: 'Roads' and 'Organizing Tiles', as well as their implementation in C++, altho the solution can be implemented in the language o...Jun 11, 2023 · 13 min readblog.garybricks.com