Amazon Interview Question

Simple questions about array and set, asked to write an algorithm to merge two increasing arrays into one increasing array