6 kyu
Numerical Palindrome #3
258 of 728kkavita92
Loading description...
Fundamentals
View
This comment has been reported as {{ abuseKindText }}.
Show
This comment has been hidden. You can view it now .
This comment can not be viewed.
- |
- Reply
- Edit
- View Solution
- Expand 1 Reply Expand {{ comments?.length }} replies
- Collapse
- Spoiler
- Remove
- Remove comment & replies
- Report
{{ fetchSolutionsError }}
-
-
Your rendered github-flavored markdown will appear here.
-
Label this discussion...
-
No Label
Keep the comment unlabeled if none of the below applies.
-
Issue
Use the issue label when reporting problems with the kata.
Be sure to explain the problem clearly and include the steps to reproduce. -
Suggestion
Use the suggestion label if you have feedback on how this kata can be improved.
-
Question
Use the question label if you have questions and/or need help solving the kata.
Don't forget to mention the language you're using, and mark as having spoiler if you include your solution.
-
No Label
- Cancel
Commenting is not allowed on this discussion
You cannot view this solution
There is no solution to show
Please sign in or sign up to leave a comment.
COBOL translation (author is inactive).
approved
There's a typo in initial code in Haskell :
module Paindrome where
should bemodule Palindrome where
.Great Kata!
Haskell : http://www.codewars.com/kumite/5b8a040e3f65632ad9000013?sel=5b8a040e3f65632ad9000013
Approved
Random tests are using
quickCheck
instead ofproperty
. That means you don't have to pass them ( cf. my first solution ).I can't fix it; I can't edit. ( This may be a problem with a whole slew of translations. )
I cant understand why the number '115555' has 7 palindromes. 11,55, 555, 5555 anything else?
It likely is counting dups, for example there are a bunch of 55's, and a 1155.
11, 5555, 555, 555, 55, 55, 55. 1155 is not a palindrome.
Thanks for the nice palindromic kata! Cheers!
Description isn't clear. Explain, how you got 5 palindromes from this number: 141221001? What this numbers? Thanks!
141, 1221, 1001, 22, 00
"write a function which returns the number of numerical palindromes WITHIN each number. For this kata, single digit numbers will NOT be considered numerical palindromes."
I excluded palindrome 00, thanks!
PHP Translation Kumited - please accept :D
Thank you :)
I believe that is all approved. Let me know if I've missed any out.
Ruby and Python translations submitted :-)
Now I appreciate your creativity. I've never seen something like this one.
Nice series of katas! :-)