Relative Sort Array Leetcode Problems Two