Some JS learning scripts

Learning bout O of N notation with the help of Jay Wengrow book Common-Sense Guide to Data Structures and Algorithms