[ymeng] Find common elements in 2D array