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.
very nice problem!
thanks mane u really helped my morale here
Ugh, I thought it would be more difficult. If you are stuck, catch my support!
Returning
0
, as per stated in the description, involves 2 conditions:As I said before, an empty sequence is either considered:
OR
1
An empty sequence doesn't satisfy both conditions for returning
0
.And
1
is the missing number because as stated in the descritpion:"Check if the elements are part of an ascending sequence of integers starting with 1".
If the sequence is valid, the return value should be 0, not some missing value:
Thanks, I passed!
Because these two behave very differently. Most of the challenges are intended to be run with Postgres.
Ok, but why on SQlite simple query doesn't returns an error and on PostgreSQL returns?
You don't have to create a new table. You are supposed to write a
SELECT
query. I will clarify this in the solution setup.Hi everyone, there is a problem with table Numbers. Even simple query 'select * from Numbers' returns error
now working :) after the reset! thx :)
Either copy your code and hit Reset button at the bottom, or simply click Attempt. I don't see how it wouldn't work, I ran it myself and it passed.
No, i never touch the original test :/
But your current code passes all tests. Did you modify sample tests for this error to happen?
yes also saw and i changed again. so now the name of the function is evenOrOdd.
and the error:
ReferenceError: even_or_odd is not defined
at /home/codewarrior/index.js:12:10
at /home/codewarrior/index.js:16:5
at Object.handleError
so i think this task is not difficult but i got some error :)
Loading more items...