❔ Returns the left pointer, why?
https://leetcode.com/problems/first-bad-version/solutions/3403742/binary-search-solution-for-c-complexity-explanation/?envType=study-plan&id=level-1&languageTags=csharp
It is about this LC solution. I was not able to understand why the
FirstBadVersion
returns the leftPointer
variable in the end, could anyone explain that to me?LeetCode
Binary Search solution for C# (complexity + explanation) - First Ba...
View kimgim's solution of First Bad Version on LeetCode, the world's largest programming community.
1 Reply
Looks like nothing has happened here. I will mark this as stale and this post will be archived until there is new activity.