How to add numbers given in a string(contains only number) without using any loop and function recursion.
e.g. we are given with the string "1234" output should be 10 (i.e. 1+2+3+4 = 10 ) or By using loop what would be the BEST optimized solution ?? -- You received this message because you are subscribed to the Google Groups "Google Code Jam" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/google-code?hl=en.
