Fractal Interview Question

1: Javascript quetion Bunch of data and find maximum using JS