The original quiz can be found in Weibo.
Here is a translated version in English.
- To solve the problem using brain, refer to this solution.
- To solve the problem using computer, compile and run Solution.java from this directory.
Just for fun.
The original quiz can be found in Weibo.
Here is a translated version in English.
Just for fun.