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 like how the kata leads you to a suggestion (summing) only for it to be the most inefficient way of solving the problem :)
I'm doing this in SQL and it's not as clear from the description what the end result should be and how the test runner works.
I do have the answers but they're formatted as a single column table. When I attempt to return a single value then the tests fail because it contradicts what is expected in another test.
So just to confirm: For the SQL version are we expected to return a final value, and if so then I think the test runner has to change to accomodate this
Why do my test cases pass on an individual basis but fail as a group? My logic is correct and every one of them passes, but when I run them all together there seems to be a weird ordering dependency going on
Nice kata, but don't think it belongs in the 7kyu category for SQL. Seeing some of the solutions presented and the amount of various methods of building the solution, I believe it's a 6kyu at least.
Someone please fix the Go compiler for this. Still saying
./setup.go:3: imported and not used: "strings"
./setup.go:7: missing return at end of function
./solution.go:3: ToNato redeclared in this block
previous declaration at ./setup.go:5
./solution.go:9: undefined: strings in strings.ToUpper
./solution.go:11: undefined: strings in strings.Split
./solution.go:17: undefined: strings in strings.TrimSpace
Hahahahahah! Cheating but thumbs up for ingenuity :D
I'm also having this problem. I'm only failing this kata now because the editor doesn't recognise my "WITH" clause.
Either the description isn't clear enough or I'm just interpreting this wrong. I interpret this as "Given a string, replace all instances of 'a', with 'b', and all instances of 'b' with 'a'".
I'm printing the input for each test and see some odd behaviour. For the input "bcaccbb" in one of the test cases, it expects this same value back. Instead, shouldn't it expect "acbccaa". Rather it's expecting "bcaccbb" to be returned. I'm doing the Ruby version.
I've been getting this error. I'm passing 13 tests then it just stops because of this message: `each': failed to allocate memory (NoMemoryError).
Completed the kata with a very dirty, hard coded solution. I felt like a cheat but then realised everyone else did the same thing. I'd love to see an answer that doesn't hard code any digits.
This comment is hidden because it contains spoiler information about the solution
Another Kata, another timing issue. I'm left once again with "Process was terminated. It took longer than 6000ms to complete". My code is simply 6 lines and uses 1 loop. I've also timed my kata and the average time it takes to run on my own machine is 1.1 millisecond. Many other times is 0.6 milliseconds. What gives?
What are the advanced tests tesing? Mine are failing from this point but I'm not entirely sure why. Could somebody give me some guidance on this.
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
Loading more items...