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.
slow...
Quite annoying, but pretty fun
nice task, but nowhere near 8 kyu level. this should be a 6 at least...
This task is divorced from reality, which is why it is difficult. I mean "if 0 or empty string, then output empty". In general, thank you for the new knowledge, I certainly wouldn’t have dealt with such issues myself
Nice one, the 'input is not iterable' made me sweat.
This comment is hidden because it contains spoiler information about the solution
I pass both of your mentioned cases with your solution. Clearly the issue lies within some part of your null or negation checker, but seeing your latest solution (which is correct), we may not know...
Попробуйте внимательней посмотреть на формулировку задачи, возможно, вам поможет переводчик!
Обратите внимание на формулировку задачи, если непонятно забейте ее в переводчик! Успехов
broken ass kata. dont worry ab it
I am not sure why but, when i directly put an empty array, [], in the return section for if the array is empty or null, i get a wrong answer for it.
But, when i assign a variable with an empty array and then return said array for my empty or null array. It works.
Why is that?
Edit: I forgot to mention that this is JavaScript.
Assigning size_t to int isn't safe.
Looks cool but not optimal, so far I think it's O(n) the optimal solution.
ок, попробую еще раз рассотреть данную задачу
A very, very worthy task. Like everyone else, I also thought about a bug in the test, but in reality it turned out that you need to be very careful and logically consistent in every step. My applause to the author.
Loading more items...