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

Finding an element from an array in CPP #50

Open
Shivangi1217 opened this issue Oct 16, 2022 · 1 comment
Open

Finding an element from an array in CPP #50

Shivangi1217 opened this issue Oct 16, 2022 · 1 comment

Comments

@Shivangi1217
Copy link

No description provided.

@Suga7772
Copy link

kindly assign me this issue.
My thought process for going about this problem's solution would entail a linear search with the best-case time complexity of O(1).
Users can create a randomly generated array of a prompted size or have the option via CLI to input elements respective of size input in an array to find a respected element.

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

2 participants