Skip to content

Commit

Permalink
Update and rename linear search to linear search.py
Browse files Browse the repository at this point in the history
  • Loading branch information
sayampradhan authored Oct 12, 2022
1 parent f79f097 commit b841521
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion linear search → linear search.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
Author : ShankRoy
#Author : ShankRoy

def linearsearch(arr, x):
for i in range(len(arr)):
if arr[i] == x:
Expand Down

0 comments on commit b841521

Please sign in to comment.