Skip to content

Conversation

PrasiddhShah
Copy link

No description provided.

@super30admin
Copy link
Owner

  • The solution is well-implemented and correct. Good job on handling edge cases and using binary search effectively.
  • The comment about time complexity could be clarified to avoid confusion. It's better to state it as O(log n) for both searches, as the second search is still within the bounds of the array.
  • The variable names like inital should be corrected to initial for better readability.
  • The approach is sound, and the code is clean. Keep up the good work!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants