Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/neetcode-gh/leetcode
/ sum
Function
sum
javascript/2235-add-two-integers.js:6–8 ·
view source on GitHub ↗
(num1, num2)
Source
from the content-addressed store, hash-verified
4
* @
return
{number}
5
*/
6
var
sum =
function
(num1, num2) {
7
return
num1 + num2;
// add num1 and num2 and return it
8
};
Callers
15
canPartitionKSubsets
Method · 0.50
maxScore
Method · 0.50
pivotIndex
Method · 0.50
calPoints
Method · 0.50
leastInterval
Method · 0.50
largestPerimeter
Method · 0.50
numOfSubarrays
Method · 0.50
canPartition
Method · 0.50
exist
Method · 0.50
gridGame
Method · 0.50
splitArray
Method · 0.50
candy
Method · 0.50
Calls
no outgoing calls
Tested by
no test coverage detected