For Java, I am getting the following error:
basicTests(NeedleTests)
Unknown Test Failure
Other tests passed. Any idea what the above error is referring to?
randomTests(NeedleTests)
Testing 25 random haystacks...
Test Passed
Use of Language: Javascript
Issue:
The default test cases loaded at the time of solving the problem are incorrect. It does not match with the description.
Can anyone help with the random test cases for Javascript. The problem states for 3 values (head,body & tail) and in tests there are values in other languages.
Python one is messed up, and the instructions are poor.
I wonder the comments you will have in your code :) Keep it flowing mate!
This comment is hidden because it contains spoiler information about the solution
Java test cases has some issue...Unknown Test Failure
Yes, i was returning the length... :)
This comment is hidden because it contains spoiler information about the solution
Cannot see Ruby/JS translations
This comment is hidden because it contains spoiler information about the solution
There are issues in the answers for rounding.
For eg:
-126.86989764584402
Expected: -126, instead got: -127
nice one :)
Getting this error for JS on submit.
TypeError: Cannot call method 'toString' of undefined
For Java, I am getting the following error:
basicTests(NeedleTests)
Unknown Test Failure
Other tests passed. Any idea what the above error is referring to?
randomTests(NeedleTests)
Testing 25 random haystacks...
Test Passed
This comment is hidden because it contains spoiler information about the solution
Use of Language: Javascript
Issue:
The default test cases loaded at the time of solving the problem are incorrect. It does not match with the description.
Can anyone help with the random test cases for Javascript. The problem states for 3 values (head,body & tail) and in tests there are values in other languages.
Loading more items...