For Java translation, I'd suggest converting it into util class by adding static modifiers to the methods.
This comment is hidden because it contains spoiler information about the solution
The test cases should check if the array was modified.
I would never use a built-in name (min & max) for a function name. Ever.
But that's just me
I get the following Test result when executing:
expected:<-2121396081> but was:<475060392>
The rest of the tests pass (funxctional tests).
What does this failure mean?
Hi I cant seem to pass the random test. I pass all the other test just having problems with the random test. what's the difference between the fixed test and the random test? how is the list generaded between the two? I have working solution i just dont know why it wont pass the random test. How can i solve this issue?
PHP Translation Kumited, please accept :D