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.
Discription:
F(n) being the smallest one such as F(n) * F(n+1) > prod.
F(n) ... 55, 89, 144 ...
prod === 5895
55 * 89 = 4895 < 5895
89 * 144 = 12816 > 5895 ===> [55,144,false]
The test is fine, read the description again. Not a kata issue.
This comment is hidden because it contains spoiler information about the solution
This is caused by outdated and confusing formatting of test cases layout. Fixed in update of the tests.
It's obvious that if the string is empty, the order of the parentheses is valid, which is exactly what you're asked to check. How would it be invalid?
No, read the posts below.
One of the tests expects "())" to be true.
All of my other tests pass except that one. I have ran console.log on the input.
Am I doing something wrong?
I have an image but cant post herew
Read this: https://docs.codewars.com/training/troubleshooting/#print-input and make sure you print something beside the input value.
https://docs.codewars.com/training/troubleshooting/#print-input
I dont recieve the input which is failing the test and with out it, It's like beeing guessing :)
This comment is hidden because it contains spoiler information about the solution