8 kyu

Sum The Strings

29,143 of 60,951K-Calderon-ASC

Description:

Create a function that takes 2 integers in form of a string as an input, and outputs the sum (also as a string):

Example: (Input1, Input2 -->Output)

"4",  "5" --> "9"
"34", "5" --> "39"
"", "" --> "0"
"2", "" --> "2"
"-5", "3" --> "-2"

Notes:

  • If either input is an empty string, consider it as zero.

  • Inputs and the expected output will never exceed the signed 32-bit integer limit (2^31 - 1)

Fundamentals

Stats:

CreatedJul 13, 2017
PublishedJul 13, 2017
Warriors Trained82515
Total Skips4676
Total Code Submissions211549
Total Times Completed60951
JavaScript Completions29143
Python Completions21583
Haskell Completions475
Ruby Completions1102
Crystal Completions18
CoffeeScript Completions25
C++ Completions4768
Swift Completions1889
C# Completions1946
C Completions563
COBOL Completions24
Scala Completions98
Julia Completions17
TypeScript Completions197
Java Completions368
Total Stars471
% of votes with a positive feedback rating92% of 5040
Total "Very Satisfied" Votes4295
Total "Somewhat Satisfied" Votes638
Total "Not Satisfied" Votes107
Total Rank Assessments59
Average Assessed Rank
7 kyu
Highest Assessed Rank
7 kyu
Lowest Assessed Rank
8 kyu
Ad
Contributors
  • K-Calderon-ASC Avatar
  • ZozoFouchtra Avatar
  • anter69 Avatar
  • shaddyjr Avatar
  • Chrono79 Avatar
  • JohanWiltink Avatar
  • Voile Avatar
  • FArekkusu Avatar
  • a.kozhanov Avatar
  • monadius Avatar
  • hobovsky Avatar
  • stellartux Avatar
  • alex3287 Avatar
  • trashy_incel Avatar
  • user8436785 Avatar
  • MikChan Avatar
  • ejini战神 Avatar
  • akar-0 Avatar
  • xFeaRDom Avatar
  • KayleighWasTaken Avatar
  • Emilio.CV Avatar
  • Cameron637 Avatar
Ad