takeUforward
find-second-smallest-and-second-largest-element-in-an-array - Tutorial