table merging operations step comparison (if anycopy compare and copy from to compare and copy from to compare and copy from to compare and copy from to compare and copy from to compare and copy from to compare and copy from to compare and copy from to copy from to copy from to notice thatbecause is empty following step no more comparisons are necessaryall the remaining elements are simply copied from into listing shows java program that carries out the merge shown in figure and table