Your comment prompted me to check for performance issues and unnecesary calculations. A slight optimization on sum of the digits did the trick. Thanks a lot for the help!
1 Like
the hint is only do the river calculation on the smaller one, and break when the two finally are equal
Thanks for all the hints above
1 Like