• 1 minute read
Algorithm Practice
The past week, I've been slowly getting back up to speed by attempting hackerrank algorithm questions to practice. I did not use Javascript as the main language to answer just so that i can keep myself refresh with Go.
Diagonal Difference - Golang
The link to the question is here: https://www.hackerrank.com/challenges/diagonal-difference/problem
Grading Students - Golang
The link to the question is here: https://www.hackerrank.com/challenges/grading/problem
As you can see they're all easy level questions. So I didn't consider any optimisation or complex ways to get the answer just basic loops and if statements.