Have you done an interview coding test that had an incorrect test case?
I recently tried a coding test with Amazon, which I failed, but for the life of me I can't find any other answer as to how one of my test cases didn't pass other than the test case was incorrect. Have you had a similar experience?
To check this, I simply logged the input to the function and compared it to the explanation and description of the problem. It wasn't terribly difficult, but I wasted time trying to figure out wth was happening and didn't complete the second problem in the allotted time.