Don't take the post dates on this page as a measure of how often I blog. I update my Books page and Euler page quite often.

HackerRank: Encryption

Posted: 13 February 2019

A simple problem. Not sure why I’m even writing about it but here goes. It was simply executing it and knowing how to use vector and manipulating the grid well. I first coded on paper, and then wrote the code directly into the HackerRank screen. Made a small mistake in...

HackerRank: Swap Nodes

Posted: 12 February 2019

This question was pretty involved. I never knew that implementing a tree was this hard in C++. In addition to that, I refreshed my knowledge on the various traversals and realized that I’ve totally forgotten about each type of traversal. Once you get the tree data structure right, the question...

First Post of 2019

Posted: 8 February 2019

First post of 2019 in February instead of January! Well, that’s not too bad. I was really busy in January and did not carve the time out to do a review. This is not an excuse though. I just did not try hard enough. This post will be about reviewing...

2019 Books

Posted: 8 February 2019

21 Lessons for the 21st Century - Yuval Noah Harari A Gentleman in Moscow - Amor Towles A Wild Sheep Chase - Haruki Murakami Clean Architecture - Robert C. Martin The Future of Capitalism - Paul Collier Structures - J. E. Gordon Refer to First Post of 2019 for my...

HackerRank: ACM ICPC Team

Posted: 24 November 2018

Starting to do HackerRank again. The objective is to do a small problem each day at least, with the option of spilling over to the next day if it is too hard. This question is really simple. N is less than 500, and 500C2 is in the order of O(N^2)....