Leetcode Note: Go - Add Two Integers

Add Two Integers - LeetCode
https://leetcode.com/problems/add-two-integers/

  • Go 言語で取り組んだメモ

回答

✅Go Beats 100% Time | One Liner✅ - Add Two Integers - LeetCode
https://leetcode.com/problems/add-two-integers/solutions/3385642/go-beats-100-time-one-liner/

func sum(num1 int, num2 int) int {
    return num1 + num2
}