Amazon interview question

Question mainly on data structures and algorithms. Write code to merge three arrays using merge sort algorithm. Behavioral round focusing on project deadlines, team work etc.