93. Rows Containing Each Row of B

Hard

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).

Implement solve(...)