Login
Register
Dark Mode
Brightness
Profile
Edit Profile
Messages
My favorites
My Updates
Logout
Recent questions tagged linear-search
0
votes
0
answers
1
How to calculate the average case time complexity in linear search for a successful and unsuccessful search ?
Successful Search we assume that the probability of searching or finding an element at each location is same , then if we have n elements so probability is $1/n$...Also w...
radha gogia
1.3k
views
radha gogia
asked
Jun 17, 2018
Algorithms
algorithms
time-complexity
linear-search
+
–
0
votes
0
answers
2
avg case unsuccessful linear search complexity
Average case complexity of sequential search if the element that is searched is not in the list a) ( n+p) /2 b) (np+1)/2 c) n(1-p/2)+p/2 d) n(1+p/2) +p/2
Average case complexity of sequential search if the element that is searched is not in the lista) ( n+p) /2 b) (np+1)/2 c) n(1-p/...
Sanjay Sharma
1.3k
views
Sanjay Sharma
asked
Dec 7, 2017
Algorithms
algorithms
linear-search
time-complexity
+
–
3
votes
1
answer
3
UGC NET CSE | Junet 2015 | Part 2 | Question: 24
The average case occurs in Linear Search Algorithm when The item to be searched is in some where middle of the Array The item to be searched is not in the array The item to be searched is in the last of t he array The item to be searched is either in the last or not in the array
The average case occurs in Linear Search Algorithm whenThe item to be searched is in some where middle of the ArrayThe item to be searched is not in the arrayThe item to ...
go_editor
1.4k
views
go_editor
asked
Jul 30, 2016
Algorithms
ugcnetcse-june2015-paper2
algorithms
linear-search
+
–
To see more, click for the
full list of questions
or
popular tags
.
Email or Username
Show
Hide
Password
I forgot my password
Remember
Log in
Register