As far as I understood, your current DISPLAYED sample tests in Python are not the same as REAL sample tests, but testing outputs coincide (or I did smth wrong...).
All in all, I passed all the tests several times, but couldn't pass two of sample tests below. I think you should check it!
It's a wrong solution. Too weak check.
It only checks that the sum of sizes of left shoes and right shoes are equal, nothing more.
For example, it fails shoes = [[0, 21], [0, 23], [1, 22], [1, 22]].
You need to clarify the answer in cases like [1, 0, 0, 0, 1]. Should it be first index or any or what? What is the right answer for this test?
Also can't see any random tests for Python (I used version 3.4.3).
I believe it would be pretty good to add in the description that '00' and '0d0' are palindromes, because formally these are NOT numbers, while you are calling it 'numerical palindromes' that can mean 'numbers'.
It looks like there are no tests (in Python) for check wether the code catch uppercase letters (from the description I think uppercase letters like 'S', 'A', 'B', etc. should also give +1).
For example, you can see my short solution which was accepted, but doesn't care about uppercase letters in s at all.
I've noticed that other letters are -5 from original ones, but wanted to emphasize that tests aren't strong enough to check it :(
You should consider to add this check!
As far as I understood, your current DISPLAYED sample tests in Python are not the same as REAL sample tests, but testing outputs coincide (or I did smth wrong...).
All in all, I passed all the tests several times, but couldn't pass two of sample tests below. I think you should check it!
Wow this guy is really smart
It's a wrong solution. Too weak check.
It only checks that the sum of sizes of left shoes and right shoes are equal, nothing more.
For example, it fails shoes = [[0, 21], [0, 23], [1, 22], [1, 22]].
You need to clarify the answer in cases like [1, 0, 0, 0, 1]. Should it be first index or any or what? What is the right answer for this test?
Also can't see any random tests for Python (I used version 3.4.3).
I believe it would be pretty good to add in the description that '00' and '0d0' are palindromes, because formally these are NOT numbers, while you are calling it 'numerical palindromes' that can mean 'numbers'.
For faster - O(len(arr1) + len(arr2)) - solution, you could see mine.
.
There is a typo in word "Unfortuantely"
This comment is hidden because it contains spoiler information about the solution
Try to care about boundary cases :)
)))
It looks like there are no tests (in Python) for check wether the code catch uppercase letters (from the description I think uppercase letters like 'S', 'A', 'B', etc. should also give +1).
For example, you can see my short solution which was accepted, but doesn't care about uppercase letters in s at all.
">= 22" should be "> 22"