Cvent Interview Question

How would you add two numbers that are strings together?

Interview Answers

Anonymous

Apr 23, 2018

Account for carrying the one

Anonymous

Aug 11, 2019

The key point here is to typecast each character to integer before adding. and handle the carry generated.