Question: Alice and Bob were given two numbers as strings. The reason for the numbers to be taken as strings was that they were very large

Alice and Bob were given two numbers as strings. The reason for the numbers to be taken as strings was that they were very large which may not fit in a long
long int. Their task was to find the sum of these two numbers in the most optimized way possible. Though Allce came up with the pseudocode, Bob was unsure
about its time complexity. Can you help them to find the time complexity of the given pseudocode?
 Alice and Bob were given two numbers as strings. The reason

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!