Title: Algorithms JavaScript