✅ Why is my code still wrong?
So I am resolving this LC puzzle https://leetcode.com/problems/binary-search/description/
I think my code is almost there, it still comes with a couple of failed test cases like this (see the attached screenshot).
Could anyone kindly point me in the right direction?
I think my code is almost there, it still comes with a couple of failed test cases like this (see the attached screenshot).
Could anyone kindly point me in the right direction?

LeetCode
Level up your coding skills and quickly land a job. This is the best place to expand your knowledge and get prepared for your next interview.
