Search
⌘K
Get Premium
Leetcode 3668. Restore Finishing Order
Given a permutation order of race finishers and a sorted subset friends, return the friends arranged by their positions in order — i.e., filter the finishing order to keep only the friend IDs.
Question Timeline
See when this question was last asked and where, including any notes left by other candidates.
All Regions
Comments
Hello Interview Premium
Your account is free and you can post anonymously if you choose.