Relative Sort Array

easySolve on LeetCode