Cognizant Interview Question

Coding questions Sum of numbers from string