Luiz Celso Pergentinoluizcelso.com·Nov 18, 2024Multiple Pointers PatternBefore delving into classic algorithms and data structures, we must learn or revisit some problem-solving patterns. The Multiple Pointers pattern will be our starting point. The main idea here is to create multiple pointers attached to specific posit...Discussmultiplepointers
Luiz Celso Pergentinoluizcelso.com·Sep 24, 2024RecursionRecursion is basically a process that calls itself until it reaches the finish condition. Here's a factorial algorithm as an example: function factorial(num) { // End of the recursion if (num === 1) return num; // Calls itself decreasing the input by...Discussback2school
Luiz Celso Pergentinoluizcelso.com·Sep 24, 2024Back2School SeriesA few days ago, I was thinking about contributing to the community and decided to revisit some algorithms and data structure fundamentals and share my journey with you all. So, get ready for some short and to-the-point posts.Discussback2school