MCPcopy Create free account
hub / github.com/neetcode-gh/leetcode / sum

Method sum

python/2235-add-two-integers.py:2–3  ·  view source on GitHub ↗
(self, num1: int, num2: int)

Source from the content-addressed store, hash-verified

1class Solution:
2 def sum(self, num1: int, num2: int) -> int:
3 return num1 + num2

Callers 2

minOperationsMethod · 0.80
canPartitionMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected