4 kyu
Adding Big Numbers
19,746 of 34,070Becojo
Description:
We need to sum big numbers and we require your help.
Write a function that returns the sum of two numbers. The input numbers are strings and the function must return a string.
Example
add("123", "321"); -> "444"
add("11", "99"); -> "110"
Notes
- The input numbers are big.
- The input is a string of only digits
- The numbers are positives
Mathematics
Big Integers
Algorithms
Similar Kata:
Stats:
Created | Oct 17, 2013 |
Published | Oct 17, 2013 |
Warriors Trained | 68437 |
Total Skips | 10331 |
Total Code Submissions | 200895 |
Total Times Completed | 34070 |
JavaScript Completions | 19746 |
CoffeeScript Completions | 50 |
C# Completions | 7228 |
C++ Completions | 3788 |
C Completions | 1447 |
COBOL Completions | 10 |
Java Completions | 2048 |
Lua Completions | 98 |
Total Stars | 1196 |
% of votes with a positive feedback rating | 86% of 3105 |
Total "Very Satisfied" Votes | 2434 |
Total "Somewhat Satisfied" Votes | 501 |
Total "Not Satisfied" Votes | 170 |