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.
This comment is hidden because it contains spoiler information about the solution
Huh I guess I did it a different way than you then.
The hard part of this for me was finding the solution to the math problem. Once you have it the code wasn't all that complex. Very fun Kata! To anyone struggling I would say to look into the math bits. I didn't find the supplied article all that helpful IMO.
When I call this function with 531441 then run the program with node inside of a terminal I get.
I did this kata using JS.
My code doesn't time out most of the times when I try it now however I got this error message which is confusing to me because they are valid pairs.
If you try both of these pairs in a calculator they come out to 531441. I think therefore there must be something wrong with the tests on the site? If someone could give me some insight here I would appreciate it.
Yeah I am having same issue. I can get like 50 mill to go through but get this time out nonsence. My code looks pretty clean too.
This comment is hidden because it contains spoiler information about the solution
Why does nobody comment their code on here? I feel that defeats the whole purpose of reading over the code to learn new stuff. A comment like 45 is the sum of every number 1-9 would be helpful right off the bat. What confuses me is how does this compare all the possibilities of every Sudoku grid? What do sumh and sumv represent? It looks like osums represents 1 sudoku 9x9 grig but with no comments unless you throw the code into an editor and play around with it who knows?
Hmmmm I see this is different than codecademy where everyone just discussed their code. Annoying. Unless the poeple that have solved it can still see the comment.
Either wyay where is the discussion forum for this project? Mine works but doesn't pass I need to figure out why.
This comment is hidden because it contains spoiler information about the solution
I get similar. When I test this thing against all the test cases running the program in terminal with node it works but mine will fail the tests and the attempt for some reason.
This comment is hidden because it contains spoiler information about the solution