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.
You are wrong.
Python test case error :
When testing empty array test case --function page_index() is passed 0 and expects to return -1
And in complete opposite to this when testing page index test case -> function page_index() is passed 0 and expects to return 0
-> the comment instructions for page_index() skeleton clearly say that the argument is considered a zero based page index
so the test case for testing empty array is wrong. Is there any update on this as i see no issues have been resolved yet
COBOL translation.
Yes sorry, my Bad
No. Please read carefully the description.
Can we assume that [2,1] returns 1 , in case both counts are equal we can give added weightage to the odd being the outlier?