SOLUTION INFO
Python · main.py
class Solution:
def recoverOrder(self, order: List[int], friends: List[int]) -> List[int]:
# friends = set(friends)
return [x for x in order if x in friends]
SOLUTION DESCRIPTION
풀이 설명
등록된 풀이 설명이 없습니다.
DISCUSSION
댓글
GitHub 로그인 후 작성할 수 있으며 모든 댓글은 이 저장소의 Discussions에 보관됩니다.