LinkedIn interview question

1.Nested Integer Sum 2.Is a Valid Number