Results 1 to 3 of 3
- 03-15-2012, 05:49 AM #1
Member
- Join Date
- Mar 2012
- Posts
- 1
- Rep Power
- 0
sequential search and binary search
please help me to resolve this question.I have tried to solve but there are many errors
develop a program that performs simulation on comparison-based
searching algorithms.the flow of the program is as follows:
1.create an integer type array with maximum size 20.user should enter the values.
2.select search key.
3.perform searching using :
a.sequential search
b.binary search
4.for each searching,shows the following results:
a.status of searching (success @ fail)
b.number of comparisons performed
5.give the conclusion (which algorithm perform better base on no.of comparisons)
-
Re: sequential search and binary search
Please post your question once and only once (and read the FAQ). Duplicate question closed.
Thread moved to "new to java" forum.
-
Re: sequential search and binary search
Similar Threads
-
Binary Search
By cengho in forum Java AppletsReplies: 4Last Post: 12-24-2010, 10:26 AM -
Binary Search Help
By Plissken in forum New To JavaReplies: 2Last Post: 03-13-2010, 10:34 AM -
Binary search tree search method
By chopo1980 in forum New To JavaReplies: 2Last Post: 12-10-2009, 01:42 AM -
binary search
By tranceluv in forum New To JavaReplies: 10Last Post: 01-14-2008, 07:13 PM


LinkBack URL
About LinkBacks
Reply With Quote

Bookmarks