Hi dragonwasrobot,
I have just read from a book of a Japanese Zen master that Western usually think about "Adding" to solve a problem, while Japanese usually think about "Removing" for the same problem. And I found this is an example. So besides the strategy to build list of subset in advance, I propose the strategy to remove element from two sets.
Please consider this PR. Thank you for sharing all the solutions.
Hi dragonwasrobot, I have just read from a book of a Japanese Zen master that Western usually think about "Adding" to solve a problem, while Japanese usually think about "Removing" for the same problem. And I found this is an example. So besides the strategy to build list of subset in advance, I propose the strategy to remove element from two sets.
Please consider this PR. Thank you for sharing all the solutions.