Random tests should be added.
This comment is hidden because it contains spoiler information about the solution
I dont understand how this works. If you don't mind, could you explain it? Im trying to learn different ways to solve problems. Thanks.
What do I need to do to make this translation public?