Coderbyte String Reduction Hackerrank Solution Cppd