MCPcopy 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 */
6var sum = function (num1, num2) {
7 return num1 + num2; // add num1 and num2 and return it
8};

Callers 15

canPartitionKSubsetsMethod · 0.50
maxScoreMethod · 0.50
pivotIndexMethod · 0.50
calPointsMethod · 0.50
leastIntervalMethod · 0.50
largestPerimeterMethod · 0.50
numOfSubarraysMethod · 0.50
canPartitionMethod · 0.50
existMethod · 0.50
gridGameMethod · 0.50
splitArrayMethod · 0.50
candyMethod · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected