최근 포스트

[LeetCode] 2. Add Two Numbers

최대 1 분 소요

Python # Definition for singly-linked list. # class ListNode: # def __init__(self, val=0, next=None): # self.val = val # self.next = next...

[LeetCode] 680. Valid Palindrome II

최대 1 분 소요

Python class Solution: def validPalindrome(self, s: str) -> bool: left, right = 0, len(s) - 1 while left < right: if(s[...