有两个可重集合 A,BA,BA,B。有三种操作:
求最小操作次数。
目前只会复杂度 O(3n)\mathcal O(3^n)O(3n) 的做法。如何做到 O(2npoly(n))\mathcal O(2^n \operatorname{poly}(n))O(2npoly(n))?