LinkedIn Interview Question

1.Nested Integer Sum 2.Is a Valid Number