Ciena Interview Question

JavaScript coding questions like reverse words of a sentence, find the smallest missing positive number, peak element, etc.