[프로그래머스 Lv.0] A로 B

문제

https://school.programmers.co.kr/learn/courses/30/lessons/120886

프로그램 제작자

코드 중심 개발자를 고용하십시오. 배치 기반 위치 매칭. 프로그래머의 개발자별 프로필에 가입하고 기술 호환성이 좋은 회사와 연결하십시오.

Programmer.co.kr

내 솔루션

def solution(before, after):
    return 1 if sorted(before) == sorted(after) else 0