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.
Figured it out. For those passing most tests but having trouble with a few here's a hint: Check that what's happening when you compare the "enteredCode" and "currentCode" params are what you're expecting to happen.
Cannot pass 3 tests. Not sure why, seems like there is some kind of error with the tests?
✔ Test Passed: Value == true
Log
CurrentDate
September 5, 2014
2014-10-05T00:00:00.000Z
1412467200000
ExpirationDate
September 25, 2014
2014-10-25T00:00:00.000Z
1414195200000
✘ Expected: false, instead got: true
Log
CurrentDate
September 5, 2014
2014-10-05T00:00:00.000Z
1412467200000
ExpirationDate
September 25, 2014
2014-10-25T00:00:00.000Z
1414195200000
✘ Expected: false, instead got: true
Log
CurrentDate
September 5, 2014
2014-10-05T00:00:00.000Z
1412467200000
ExpirationDate
September 25, 2014
2014-10-25T00:00:00.000Z
1414195200000
✘ Expected: false, instead got: true
Log
CurrentDate
March 5, 1998
1998-04-05T00:00:00.000Z
891734400000
ExpirationDate
March 25, 1998
1998-04-25T00:00:00.000Z
893462400000
This comment is hidden because it contains spoiler information about the solution
No idea, you're the sensei. But if I come up with anything I'll drop you a line. ;)
Loved it just as much as part 1. It was definitely more challenging too. Part 3 in the works? :p
I ran into the same issue. LOL
I think the row/col was switched in part 1 as well because I was able to pass part 1 using row/col where col is x and row is y but now it seems opposite. I have to do col/row if i assume col is x and row is y. I'm probably just confusing myself at this point.
Awesome kata! I had a lot of fun doing this one. It was challenging but definitely doable once you thought it through.
Very nice. I don't know why I came up with such a complicated solution myself. This is very elegant and easier to read.
Awesome, you guys rock! Can't believe I had made such a silly mistake. I was seriously ripping my hair out trying to figure it out. :D
This comment is hidden because it contains spoiler information about the solution
So easy and concise, can't believe I hadn't thought of it.
I would say the first one because you have less values to compare against, 5 as oppose to 10.