반응형 특정 조건에 따라 줄세우기1 [문제 풀이 25] 코드 트리 - 특정 조건에 따라 줄 세우기 특정 조건에 따라 줄 세우기 문제 유형 : 정렬, Backtracking사용언어 : Python난이도 : 실버 2출처 : 코드 트리 https://www.codetree.ai/training-field/search/problems/line-up-according-to-specific-conditions?&utm_source=clipboard&utm_medium=text 코드트리 | 코딩테스트 준비를 위한 알고리즘 정석국가대표가 만든 코딩 공부의 가이드북 코딩 왕초보부터 꿈의 직장 코테 합격까지, 국가대표가 엄선한 커리큘럼으로 준비해보세요.www.codetree.ai from itertools import permutations# 소 이름cows = ["Bessie", "Buttercup", "Belind.. 2024. 4. 28. 이전 1 다음 반응형