I am posting my solutions in the hope that someone out there can find the solution if they are stuck or let me know if there is a better way to do this.
Problem category is super easy!
Problem 11172 link
Solution in c++ link
TRENDING ALERTS -