Cookies help us deliver our services. By using our services, you agree to our use of cookies. Click here to learn more

Interview Question

Software Engineer Intern Interview(Student Candidate) Santa Barbara, CA

given two sorted arrays A and B A has a buffer at the end

  large enough to hold B. how would you merge them into a sorted array
Answer

Interview Answer

1 Answer

0

start from the end of each array and keep filling the array A with the maximum element

Interview Candidate on 17 Jan 2012

Add Answers or Comments

To comment on this, Sign In or Sign Up.