Merging Arrays Interview Question
Posted by aleksin
"Suppose we have two sorted arrays A[] of m elements and B[] of n elements. Write a function merge which would merge this two arrays into new sorted array C[] in O(n) time as shown on the picture".
Company where asked this question: Amazon
Interviewed for position: Software Developers, Testers
Company where asked this question: Amazon
Interviewed for position: Software Developers, Testers

Answers