Annoying % in Sum Root to Leaf Numbers


hey i solved it correctly but got bad results because i didn’t % on the way .
i think the % is irrelevant to the question so i think u should at least in the solution approach state that when u aggregate the result you should do % on it.


you need to keep number overflows in mind during any arithmetic operation. Its just good programming practice


hey,how do we know that there would be overflow so we have to do %!003?