Infosys interview question

Write program on merge join.