Annoying % in Sum Root to Leaf Numbers


#1

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.


#2

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


#3

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