Fastest way to merge multiple pre-sorted arrays in one sorted array
I'm looking for the fastest way to merge multiple pre-sorted arrays, into one sorted array, without duplicates.
For example:
const arrays = [
[15, 30, 35, 40, 45, 50],
[33, 36, 39, 42, 45, ...