Search
Star
Feedback
Setup for Free
© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
❔ Returns the left pointer, why? - C#
C
C#
•
3y ago
•
1 reply
morry329#
❔ 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
FirstBadVersion
returns the
leftPointer
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
.
C#
Join
We are a programming server aimed at coders discussing everything related to C# (CSharp) and .NET.
62,338
Members
View on Discord
Resources
ModelContextProtocol
ModelContextProtocol
MCP Server
Recent Announcements
Similar Threads
Was this page helpful?
Yes
No
Similar Threads
function pointer
C
C# / help
3y ago
❔ Pointer Issue.
C
C# / help
3y ago
get the address from pointer offsets.
C
C# / help
4y ago
❔ unsafe pointer operation
C
C# / help
3y ago