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

first and last occurrence of given element in an array in log(n) time complexity #816

Open
mansim3006 opened this issue Oct 27, 2020 · 2 comments

Comments

@mansim3006
Copy link

mansim3006 commented Oct 27, 2020

Solution--> using modified binary search in log(n) time complexity.

@mansim3006 mansim3006 changed the title first and last occurrence of major element in array first and last occurrence of given element in an array in log(n) time complexity Oct 27, 2020
@ayush8700
Copy link

can you assign this issue to me @sukritishah15

@sunilgknair051
Copy link
Contributor

Again, can you please pitch with explanation and example.

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

No branches or pull requests

3 participants