Digital Root

Calculate the digital root of a number.

Asked in Zeta frontend interviews