Efficiently Finding Four-Element Combinations in JavaScript | CodeSignal Learn