Implement array intersection problem using merge and binary search approach.