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.
Converted it to Javascript and compleated it.
Got same as the two otheres here.
solution: virtual void POSTFIX::TESTS(): Assertion `to_postfix(infix) == postfix' failed.
If the error is in the solution, the faulth need to be better explained so I know where to start fixing this.
I am not sure if it is just me, but the PHP template was missing the fact that the key and alfabeth came through a constructor that was not mention at all. When I got that in place it all worked a lot better.
Should be part of the start template.
Not sure what language you did it in. In C++ this tests gives the expected result ( [2,1,3,1,2,2,2,2,1] => {pos = [2,4], peaks = [3,2]} )
Thanks for reply.
Why is this still in Beta?
It should be released i.m.o.
(Yes I am new, and there might be some voting detail, or something I don't know about, but this seems solid enought)
In PHP this was stupid simple (but only becouse you can change the object you test on)
The test scenarios let me complete with my C++ solution, but whould have failed at this one: "....\n.W..\n.W..\n.W.."
....
.W..
.W..
.W..
Tecnically that is a solution that should return true. Mine did not, but still got approved.
My current version states that if I get back to start, I failed the Maze. Howver, in this case I should have gone out the other way again.