-
객체와 관계형 데이터베이스간의 매핑
-
직관적이며 재사용 및 유지보수가 용이함
-
DBMS에 종속적이지 않음
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import unittest | |
from collections import defaultdict | |
def check_palindrome_permutation(input_string): | |
"""입력받은 문자열이 palindrome의 순열을 갖는지 확인한다.""" | |
char_count = defaultdict(int) | |
for char in input_string: | |
char_count[char] += 1 |