For C++. I used std::stoi (int) and resolved the kata. After click submit I realized I should return 'long long'. I suggest add some additional test cases for checking proper type :)
Adjust details to handle whitespace characters and punctuation
Random tests
Solved it with recursion!
As others said, there should be more sample test cases with special characters (thinking about the point in the really last test).
Need random tests!
This comment is hidden because it contains spoiler information about the solution
There are more than a few palindrome katas already:
Loading collection data...
For C++. I used std::stoi (int) and resolved the kata. After click submit I realized I should return 'long long'. I suggest add some additional test cases for checking proper type :)
Adjust details to handle whitespace characters and punctuation
Random tests
Solved it with recursion!
As others said, there should be more sample test cases with special characters (thinking about the point in the really last test).
Need random tests!
This comment is hidden because it contains spoiler information about the solution
There are more than a few palindrome katas already: