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.
This comment is hidden because it contains spoiler information about the solution
Java:
JUnit5 should be enabled
Fixed and random tests should be separated
Reference solution should be
private
If the code is correct, then it will. Just try it.
oh ,understood. So ,if i change it to return ,will site approve task?
What happens when you do this in your VS Code:
console.info('My solution returned: ' + duplicateEncode("din"))
Maybe because there is no return keyword in your code at all?
console.log
andreturn
are different.idk why it doesnt retern anything ,cause when i wrote in on VS Code it worked
Or maybe just post the code using proper code formatting?
After copying all your code, the answer is still the same: your solution does not return anything.
copy all in my message ,after "Вот сам код :"
Your code doesn't return anything.
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
Without seeing the code we have no clue either.
I have two pieces of code on my machine (one iterative and one recursive), both of which work perfectly well in all cases. However, weirdly, the recursive one fails on the test provided here, even though the arrays for which it fails actually work just fine on my computer. No clue what the issue can be.
This comment is hidden because it contains spoiler information about the solution
Loading more items...