Epic Interview Question

They asked the isNumberAdditive question on leet code