Try all possible removal orders and count the maximum removals.
With stones, there are orderings to try. Each removal check requires verifying shared row/column with remaining stones.
Can you identify which stones must stay without simulating removals?