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.
Initially, my solution had the same problem as yours. But then I went through the sample tests manually, and found my mistake.
I checked your solution, and you do the same mistake as me. Tests seem to be OK, and your solution does not account for one possibility.
I have same problem :)
Hi. It is fixed in the latest version approved. You can:
func numbersWithDigitInside(_ x: Int64 , _ d: Int64 ) -> [Int64 ] {
reset
at the bottom of the page and use the signature from there.This is necessarily coming from your code, there is no way tests magically multiply all numbers in your result by 10. When you don't know, please: don't raise an issue! See the documentation: https://docs.codewars.com/training/troubleshooting/