Category: Programming

HackerRank Challenges: Diagonal Difference

I love HackerRank, its a web app where you can complete challenges to get better at coding, and i think i’ll start a new series here on the blog covering some of the implementations that i made to some challenges. This one is about the Diagonal Difference, here’s the challenge: Given a square matrix of

What is Recursion

In computer programming, recursion is usually labeled a rather difficult topic (especially for students), but its rather simple. Simple concepts are not necessarily easier to implement, because it depends the extend follows the normal way of thinking. A recursive function is no more than a function that references itself within its own definition, in such