A has shape (8, 3), B has shape (2, 2). Return the indices of rows of A that contain the elements of each row of B (regardless of order).
A
(8, 3)
B
(2, 2)
solve(...)