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

[NEW ALGORITHM] Find First and Last Position of Elements in Sorted Array #1843

Closed
Dipanita45 opened this issue Nov 10, 2024 · 0 comments
Closed

Comments

@Dipanita45
Copy link
Contributor

Issue will be closed if:

  1. You mention more than one algorithm. You can create a separate issue for each algorithm once the current one is completed.
  2. You propose an algorithm that is already present or has been mentioned in a previous issue.
  3. You create a new issue without completing your previous issue.

Note: These actions will be taken seriously. Failure to follow the guidelines may result in the immediate closure of your issue.


Name:

[NEW ALGORITHM] Find First and Last Position of Elements in Sorted Array

About:

iven an array of integers nums sorted in non-decreasing order, find the starting and ending position of a given target value.
If target is not found in the array, return [-1, -1].
You must write an algorithm with O(log n) runtime complexity.


Labels:

new algorithm, gssoc-ext, hacktoberfest, level1


Assignees:

  • [yes] Contributor in GSSoC-ext
  • [yes] Want to work on it

Please assign me
@pankaj-bind

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

No branches or pull requests

2 participants