Because the numberof the test case is at most 15,you can run dfs first then make a list of the answer.
Yeah, if you are patient enough, you can list the answer for all 500 questions. lol
@zhongyuan9817 said in A easy method:
LMAO. Theoretically, you can reverse engineering the testcases of all questions, 539 at this time.
Looks like your connection to LeetCode Discuss was lost, please wait while we try to reconnect.