Relative Sort Array
While studying for interviews, I’ve been practicing my algorithm skills on LeetCode and other sites quite a bit. Read on for a walkthrough of my JavaScript solution to the Relative Sort Array problem on LeetCode (instructions from LeetCode are below).