Devathon interview question

Merge two sorted arrays with O(1) extra space