add search in transposed array

Signed-off-by: WanBin <ouyangwanbin@gmail.com>