Microsoft Interview Question: how to combine 2 sorted array... | Glassdoor

Interview Question

Software Developer Interview(Student Candidate) Saint Louis, MO

how to combine 2 sorted arrays together. Like

  1357, 2468, the result should be 12345678
Answer

Interview Answer

1 Answer

1

Sounds exactly like merge sort.
http://en.wikipedia.org/wiki/Merge_sort

Nick on Mar 25, 2014

Add Answers or Comments

To comment on this, Sign In or Sign Up.