You will receive a string as input and you should return a regex pattern that matches another string (not provided, you will never encounter them) that contains at least once each unique letter from the input string.
Don't hesitate to ask help in the #help-solve channel from the Codewars discord server when needed
This kata uses pandas version 1.5.3, where the filter_func in pandas.DataFrame.update() takes only one argument (the target series).
In pandas 2.0 you have the ability to use two arguments in the filter_func! This would allow much cleaner and code for problems of this sort ^_^
there is still an issue here. because the lyrics include this single non-ASCII character, the initial code in C should specify that the expected output encoding is UTF-8. i did it in this fork, pending approval.
I did, but it was resulting in a wide string... or so I thought. It turned out to be an L in front of a string being interpreted as a wide string marker.
How do I put in the special ... character in C?
The compiler keeps trying to make the string literal an int array, but that doesn't match the function return type and then the zero high bytes in the wide string get interpreted as '\0's.
You will receive a string as input and you should return a regex pattern that matches another string (not provided, you will never encounter them) that contains at least once each unique letter from the input string.
Don't hesitate to ask help in the
#help-solve
channel from the Codewars discord server when neededI don't understand the question at all. Poor kata. Don't waste your time.
i fixed that too in my fork below, in case you feel like approving it
I get the meaning of the test being named
should_be_less_than_300
but the other part is nonsensical:
That user deleted his/her account, you won't get an answer from him/her.
@user9644768 Why wouldn't
sum
be allowed? It's a similar method to what is done for C/C++.Rejecting as superseded by the child fork.
Tests are not broken, they just have bad assertion messages.
This kata uses pandas version 1.5.3, where the filter_func in pandas.DataFrame.update() takes only one argument (the target series).
In pandas 2.0 you have the ability to use two arguments in the filter_func! This would allow much cleaner and code for problems of this sort ^_^
approved!
C:
'…'
) whose encoding is not specified. It should be mentioned that the expected encoding is UTF-8;300
, as reported thereboth fixed here
there is still an issue here. because the lyrics include this single non-ASCII character, the initial code in C should specify that the expected output encoding is UTF-8. i did it in this fork, pending approval.
I did, but it was resulting in a wide string... or so I thought. It turned out to be an L in front of a string being interpreted as a wide string marker.
Can't you copy/paste it from the description?
How do I put in the special ... character in C?
The compiler keeps trying to make the string literal an int array, but that doesn't match the function return type and then the zero high bytes in the wide string get interpreted as '\0's.
Loading more items...