Tdd, Typescript, Testing Framework, Software Development, Software Testing.
for the value 0 in the array [1, 3] and expected to get -1, not found, back. It hit the same exceeding max stack error, bingo 💰. I debugged the code and found that one of my conditions, when you had a search target smaller than the smallest element, missed the check at index 0 of specifically a