Maybe the most straightforward problem on leetcode. Super simple. Its intention?
Problem
C#
1 | public class Solution { |
Submission Detail
- 262 / 262 test cases passed.
- Runtime: 25 ms, faster than 86.75% of C# online submissions for Add Two Integers.
- Memory Usage: 26.7 MB, less than 8.86% of C# online submissions for Add Two Integers.
Java
1 | class Solution { |
Submission Detail
- 262 / 262 test cases passed.
- Runtime: 0 ms, faster than 100.00% of Java online submissions for Add Two Integers.
- Memory Usage: 40.7 MB, less than 78.42% of Java online submissions for Add Two Integers.
JavaScript
1 | /** |
Submission Detail
- 262 / 262 test cases passed.
- Runtime: 136 ms, faster than 5.20% of JavaScript online submissions for Add Two Integers.
- Memory Usage: 41.4 MB, less than 97.69% of JavaScript online submissions for Add Two Integers.