sobhanbera / algorithms

Dive into algorithms, data structures, and competitive programming solutions in multiple languages. Active since Hacktoberfest 2020!
https://github.com/sobhanbera
MIT License
28 stars 88 forks source link

Implement Linear Search in Golang #200

Open sobhanbera opened 9 months ago

sobhanbera commented 9 months ago

Algorithm/Data Structure: Linear Search Programming Language: Golang Difficulty: ⭐️⭐️

Issue Details

Description: Implement the Linear Search algorithm in Golang. Linear Search is a simple searching algorithm that sequentially checks each element of a list until a match is found or the whole list has been searched. Your implementation should correctly search for a specified target element in a slice and return its index if found or -1 if not found.

Additional Information: If you are new to Linear Search or need guidance on implementing it in Golang, feel free to ask questions or seek help in the comments. This is a great opportunity for contributors to gain experience in searching algorithms in Golang.

Note: Before starting to work on this issue, please comment below to express your interest and let us know if you have any questions or need clarification on the task.

Sachinsharmak commented 9 months ago

I'm Currently Using go language , so it will be great to contribute . Also do i need to write the Algo Steps for this or Just Code

sobhanbera commented 9 months ago

Hey @Sachinsharmak, I've assigned the issue to you, You can now start working on it. You can make the code as much informative as you can.

Sachinsharmak commented 9 months ago

Hi @sobhanbera I've sent you the PR Pls Check and Approve