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.
I'm proposing 3 minor changes to C++ version
Please reaview and/or approve.
Java:
arguments in assertEquals are swapped.
C++ test has some problems, but attempt works well. Check it, please
Hi Zoltan , Hope you're doing Well bro ..
Description didn't mention anything about Case Sensitivty , For Example Counting only small alphas as 'h' or the Capital Ones 'H' or Both of them, Yet the Sample Tests Have Both of them ??
Also Alexander's Issue Below concerning Sample test Cases didn't Resolved yet ?? .. Cheers
This comment is hidden because it contains spoiler information about the solution
If it's always one character, its type should be
char
. Also, heavy input arguments should better be passed as const reference.For the count a better type would be something like
std::string::size_type
orstd::size_t
.