Domanda di colloquio di Amazon

To write code for: Sorted Merge of 2 arrays.

Risposta di colloquio

Anonimo

30 ago 2015

Iterate over each array, comparing each element, adding the smallest to resulting array, followed by incrementing the counter on the specific array the smaller element came from.