Review for Data Structures and Algorithms in Javascript