최근 포스트

[LeetCode] 66. Plus One

최대 1 분 소요

Python class Solution: def plusOne(self, digits: List[int]) -> List[int]: digits = list(map(str, digits)) answer = int(''.join(digits)...

[LeetCode] 9. Palindrome Number

최대 1 분 소요

Python class Solution: def isPalindrome(self, x: int) -> bool: if str(x) == str(x)[::-1]: return True else: re...