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.
OP solved it, closing
Too easy for 6 kyu
Nice!
Yes, your code fails to handle certain inputs. Not a kata issue.
Also, please use the
Question
label if you're unsure where the issue lies. See https://docs.codewars.com/training/troubleshooting#post-discourseThis comment is hidden because it contains spoiler information about the solution
In JavaScript I get: expected ' ' to equal '6+yqw8hfklsd-=-f'.
When I run the function in VS Code it retuns '6+yqw8hfklsd-=-f' not emply string('').
Am I doing something wrong?
Done in C++.
Для меня описание принципа работы '#' было не достаточно и 6 примеров для тестов было мало, чтоб понять. Пришлось подглядеть готовые решения, из решений составить список для тестов и по их результатам только стала понятна задумка '#'. Тогда сразу получилось своё решение сделать.
Language: C++
Test suit missing the required header
std::string
The description should state clearly that the input string is composed by ANY character
Bad output!
char* ptr = "Nice Kata";
std::cout << *ptr;
Tha'ts Better : [AKA C pointers version]
Approved
To avoid copying of a std::vector
What's the reason for changing the function signature?
There's a CPS-based solution to this, isn't there?
Loading more items...