Skip to content

Added linear search program#6838

Open
nurulain0 wants to merge 1 commit intoOpenGenus:masterfrom
nurulain0:add-linear-search
Open

Added linear search program#6838
nurulain0 wants to merge 1 commit intoOpenGenus:masterfrom
nurulain0:add-linear-search

Conversation

@nurulain0
Copy link

This PR adds the implementation of the Linear Search algorithm in C++.

Created a new file linear_search.cpp inside the data_structures folder.

Implemented a simple linear search function to find an element in an array.

Code is beginner-friendly, well-commented, and easy to understand.

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

Successfully merging this pull request may close these issues.

1 participant