Overload Operators C++

Over the weekend I received an automated email message from HackerRank to solve the following challenge: https://www.hackerrank.com/challenges/overload-operators?utm_campaign=challenge-recommendation&utm_medium=email&utm_source=24-hour-campaign

If interested, please take a look at the challenge description.

As usual, I try to address the challenge without consulting the provided code or look at the discussions. After losing some time on my own, I check the discussions and the code provided to solve the challenge. In this case the following read only code was provided: Continue reading “Overload Operators C++”