<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom"><title>thermcampos blog » leetcode</title><link href="https://thermcampos.blog/" rel="alternate"/><link href="https://thermcampos.blog/atom/leetcode/" rel="self"/><id>/atom/leetcode/</id><updated>2026-10-22T11:40:11Z</updated><author><name>R. Campos</name></author><subtitle>Welcome to my blog, personal corner and stuff</subtitle><entry><title>The benefits of leetcode</title><link href="https://thermcampos.blog/post/leet-code-routine/" rel="alternate"/><published>2026-10-22T11:40:11Z</published><updated>2026-10-22T11:40:11Z</updated><author><name>R. Campos</name><email>ricardompcampos@gmail.com</email></author><id>/post/leet-code-routine/</id><summary type="html">&lt;!-- tags: leetcode --&gt;
&lt;!-- date: 2026-10-22 11:40:11 --&gt;
&lt;img alt="/attachments/the-benefits-of-leetcode-header.png" src="/attachments/the-benefits-of-leetcode-header.png" /&gt;
&lt;p&gt;Hello everyone! This time I'm here to invite you, and perhaps introduce you,
to the amazing and scaring world of leet code. In case you're not familiar
with it, leet code are code challenges where you need to write the solution
and submit it for validation against a set of scenarios. It comes with
constraints and a specific situation describing the problem, and the task is
to write a function or piece of code that solves the problem and gives the
answer for the problem.&lt;/p&gt;
&lt;p&gt;The main difficulty usually lives in two areas, understanding the problem, and
putting the solution into an algorithm. There are levels for these challenges,
it can be easy, medium, or hard. Now that you know what I'm talking about, let
me tell you why it's a great idea sticking to solving one of these every week.&lt;/p&gt;
&lt;p&gt;In short, it teaches you how to think in steps. How to break down big problems
into smaller steps. This is particularly interesting because that's what we do
on our daily-basis. It helps getting a real problem, a product bug or feature,
and shape it in steps, solvable, repeatable, and predictable. But there's more,
stick with me.&lt;/p&gt;
</summary><content type="html">&lt;!-- tags: leetcode --&gt;
&lt;!-- date: 2026-10-22 11:40:11 --&gt;
&lt;img alt="/attachments/the-benefits-of-leetcode-header.png" src="/attachments/the-benefits-of-leetcode-header.png" /&gt;
&lt;p&gt;Hello everyone! This time I'm here to invite you, and perhaps introduce you,
to the amazing and scaring world of leet code. In case you're not familiar
with it, leet code are code challenges where you need to write the solution
and submit it for validation against a set of scenarios. It comes with
constraints and a specific situation describing the problem, and the task is
to write a function or piece of code that solves the problem and gives the
answer for the problem.&lt;/p&gt;
&lt;p&gt;The main difficulty usually lives in two areas, understanding the problem, and
putting the solution into an algorithm. There are levels for these challenges,
it can be easy, medium, or hard. Now that you know what I'm talking about, let
me tell you why it's a great idea sticking to solving one of these every week.&lt;/p&gt;
&lt;p&gt;In short, it teaches you how to think in steps. How to break down big problems
into smaller steps. This is particularly interesting because that's what we do
on our daily-basis. It helps getting a real problem, a product bug or feature,
and shape it in steps, solvable, repeatable, and predictable. But there's more,
stick with me.&lt;/p&gt;
&lt;!-- read_more --&gt;
&lt;div class="section" id="the-real-gain"&gt;
&lt;h3&gt;The real gain&lt;/h3&gt;
&lt;p&gt;As engineers we need to think straight, logically. We need to find and build
solutions on our head, &lt;em&gt;visualizing them first&lt;/em&gt;. That is, when we're able to
understand the problem, and describe the solution steps, we're done. Nothing
else is needed. At this point, we only need to write it down, write the code
onto the IDE, or ask an LLM to do it. The hardest part, like I said, it
&lt;em&gt;seeing&lt;/em&gt; the solution in our head.&lt;/p&gt;
&lt;p&gt;Another huge win is that it helps keeping our mind sharp. Many of us, myself
included, needs to get back to coding and be close to solution all the time,
since in this crazy AI era people are delegating not only code, but also
thinking. Don't do that. Take 15 or 20 minutes of your day, and go for a
leet code challenge.&lt;/p&gt;
&lt;p&gt;Once you see your code approved, the green check is there, and the solution
works, it feel good. It just feels very good. I'd say it's as good as
seeing an approved PR and all its pipelines passing. Anyways.
The point is that you'd get more confident and happy. This goes straight
against thoughts like&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;I'm a fraud&lt;/p&gt;
&lt;p class="attribution"&gt;&amp;mdash;Almost every developer at any point.&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;Start with the easy ones, there are many. Then, when feeling ready, go for
a medium one. These aren't impossible problems, they only need a bit of
thinking. Thank me later.&lt;/p&gt;
&lt;p&gt;There are many platforms where you can do it online, using an online IDE.
The most known one is for sure &lt;a class="reference external" href="https://leetcode.com/"&gt;LeetCode&lt;/a&gt;, but I also strong recommend
&lt;a class="reference external" href="https://www.hackerrank.com/domains/algorithms"&gt;HackerRank&lt;/a&gt; algorithms path, it's really worth it.&lt;/p&gt;
&lt;p&gt;That's all for this time. Feel free to share your thoughts using the comments
section below, or get in touch (see the about page).&lt;/p&gt;
&lt;p&gt;o/&lt;/p&gt;
&lt;!-- author: R. Campos &lt;ricardompcampos@gmail.com&gt; --&gt;
&lt;/div&gt;
</content></entry></feed>