v1 time Omega(2^n) space Omega(2^n) Accepted