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 #153

Open
harshogale04 opened this issue Oct 27, 2024 · 1 comment
Open

Single Element in a Sorted Array #153

harshogale04 opened this issue Oct 27, 2024 · 1 comment
Assignees
Labels
hacktoberfest2024 Hacktoberfest hacktoberfest-accepted Hacktoberfest2024

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.

Hello @yesiamrajeev ! I’d love to contribute to this repository as part of Hacktoberfest 2024. Could you assign me to this issue and tag it with the Hacktoberfest label? Thanks in advance!

@harshogale04
Copy link
Contributor Author

C++/SingleElementInASortedArray.cpp

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
hacktoberfest2024 Hacktoberfest hacktoberfest-accepted Hacktoberfest2024
Projects
None yet
Development

No branches or pull requests

2 participants