No sample tests
It won't let me submit, but I think my solution is correct. The description doesn't provide many details, though.
This comment is hidden because it contains spoiler information about the solution
Only one static test? Are you kidding?
Also, your reference solution will fail on ([1,2,3], [10,2,3]) because of sorting function.