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.
PHP test with input expression: 123.45*(678.90 / (-2.5+ 11.5)-(80 -19) *33.25) / 20 + 11 expected not correct value. Correct value should be -12042.760875
I got message: Failed asserting that -12042.760875000207 matches expected -12042.760875.
Interesting kata, thx.
In test Tricky-Unknown in JavaScript for "=======fly===dragon====" expected is "??". It is correct value? My function return "dragonfly" and I can't pass only this test.
Efficient is good enough, so I can use StringBuffer.
The final bomb, nightmare.
You are right, only array and object (in es6 Map, Set) can return multiple values.
Third line only return stack and is same as:
stack.push(oper[el] ? oper[el](+stack.pop(), +stack.pop()) : +el);
return stack;
The comma operator allows you to put multiple expressions in a place where one expression is expected.
You should look for "comma operator javascript" in Internet.
now it's ok, thanks for your help
Now I got: Call to undefined function rot(). You probably call function with different names in basic and random test.
PHP, testRandom return Error: Call to undefined function sumDigPow3() I miss something?
thanks, I got this.
whether test java works properly? Test case with number 8-421-674-8974 expect Phone => 8-421-674-8974, Name => Elizabeth Corber, Address => Via Papa Roma but in text I don't see Elizabeth Corber. My solution return Too many people: 8-421-674-897
Nice to see your comment. Thanks for advice.
expected value from second test case from "Rest" is correct?
array.filter(Boolean) - This method will remove zero from the array, because zero is false. So test case should contain zero in array passed as argument to function.
example: [0, 1, 2].filter(Boolean) // return [1, 2]
edit:
Zero is valid value, or invalid like null?
I think you should add number 0 (zero) to array which is passed as argument. Some current solutions is not properly.
Loading more items...