matthewsamuel95 / ACM-ICPC-Algorithms

Algorithms used in Competitive Programming
2.07k stars 1.26k forks source link

Sum of digits #948

Closed 161b191 closed 5 years ago

161b191 commented 5 years ago

N is the total number of digit in the number entered by a user. Time complexity O(N)