-
문자열 내림차순으로 배치하기프로그래밍/알고리즘 2021. 3. 25. 18:38
나의 풀이
def solution(s): return ''.join(sorted(s, reverse=True))
728x90반응형LIST'프로그래밍 > 알고리즘' 카테고리의 다른 글
내적 (0) 2021.03.25 수박수박수박수박수박수? (0) 2021.03.25 모의고사 (0) 2021.03.25 문자열 내 p와 y의 개수 (0) 2021.03.23 서울에서 김서방 찾기 (0) 2021.03.23