Skip to content

Commit d94975b

Browse files
committed
Week 9
1 parent 20f253f commit d94975b

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

sum-of-two-integers/8804who.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
import math
2+
class Solution:
3+
def getSum(self, a: int, b: int) -> int:
4+
return int(math.log(2**a * 2**b, 2))
5+

0 commit comments

Comments
 (0)