Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Single Element in a Sorted Array #150

Open
harshogale04 opened this issue Oct 27, 2024 · 0 comments
Open

Single Element in a Sorted Array #150

harshogale04 opened this issue Oct 27, 2024 · 0 comments
Assignees
Labels

Comments

@harshogale04
Copy link
Contributor

You are given a sorted array consisting of only integers where every element appears exactly twice, except for one element which appears exactly once.

Return the single element that appears only once.

Your solution must run in O(log n) time and O(1) space.

Kindly assign it to me under Hacktoberfest. Thank you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants