Loading collection data...
Collections are a way for you to organize kata so that you can create your own training routines. Every collection you create is public and automatically sharable with other warriors. After you have added a few kata to a collection you and others can train on the kata contained within the collection.
Get started now by creating a new collection.
Indeed, the names should be
maximum'
andminimum'
.EDIT
I also thought it's a kata bug at first, but there's actually a workaround for name ambiguousness built into the language. You can refer to the Haskell wiki.
What I would add, however, is that this kata is most likely 7, not 8. Also, using the named workaround is definitely not a good practice in real world, which my first version of the comment points out.
You mixed like 4 languages: Java, English, Ukrainian and Russian. Definitely the smartest solution!
This comment is hidden because it contains spoiler information about the solution
The point is to find the easiest solution and I think this one is the best here.
Hi. The original Java code template seems to be in C-style, while common Java convention is to have first curly bracket at the end of the first line of a method declaration.
https://www.cs.cornell.edu/courses/JavaAndDS/JavaStyle.html#Indentation
That's not a programming task, but a maths task. Downvoted.
P.S. It was useful for me tho since I missed the hint at first therefore learned new things about the language. Thanks my unattentiveness for that. :)
I also resolved this kata. But your compiler behaved wierdly in some cases.
C test is broken.
Test Crashed
Caught unexpected signal: SIGSEGV (11). Invalid memory access.
But the same code works on my computer (compiled with gcc).
The best kata, where you need to actually code, not do maths.
I have the same. No ideas, what's wrong, the description gives no clues.