You should probably not remove toDigitsRev, especially since it's normally a piece of the correct solution for sumDigits... Your current sumDigits is incorrect, try it on [100, 100].

On Sat, Feb 7, 2015 at 5:01 PM, Roelof Wobben <r.wobben@home.nl> wrote:
Oke,

toDigitsRev was one of the steps of this exercise. but I can remove it.

Roelof


Joel Williamson schreef op 7-2-2015 om 16:56:

Roelof,

It doesn't look like you ever call toDigitsRev. To keep the solution clearer, you should remove any unneeded definitions.

Joel


--
Jedaï