AppFolio

  www.appfolio.com
  www.appfolio.com

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 Question, Sign In with Facebook or Sign Up